Comments (2)
个人理解,上帝账号是部署的时候就配置的,用上帝账号的意图是保证脚本运行成功,因为上帝账号拥有所有权限,源码里在权限检查时会先判断是否是god,是的话检查直接通过。
from fisco-bcos.
@LevenSton,在脚本最后的环节是启动权限控制,在权限控制启动之前,任何账号(包括非上帝账号)都可以发交易的,但启动权限控制后需要有特定权限的账号(上帝账号及授权过的账号)才能进行操作。
当配置的account不是上帝账号或授权过的账号(当时account只有Group4的权限,Group4没有响应的部署及调用系统合约的授权),执行脚本完毕后就不能进行相关操作。
如果使用上帝账号来运行ARPI_Model.js脚本,就相当于您描述的对生成的Group2 3 4分配对应的权限,注意这个脚本只是为了说明对Group分配权限的例子及管理模型,而不是给账号绑定对应权限。
from fisco-bcos.
Related Issues (20)
- 使用FISCO BCOS 3.x PRO版本host网络模式,扩容成功,但是扩容的节点无法加入到观察者列表,控制台报错-4008 HOT 4
- 请问怎么发送交易!! HOT 1
- 不能切换群组问题 HOT 2
- 使用Java SDK部署合约时报错:transaction hash mismatching HOT 4
- getTransactionByHashWithProof和getTransactionReceiptByHashWithProof没有返回proof HOT 1
- 请问FISCO是否支持别的类型的加密数据的方式? HOT 4
- 关于委员会的概念 HOT 4
- 使用同一组私钥地址,在多个群组中部署同一份合约,只有最先部署的可以正常使用 HOT 5
- 账户问题 HOT 1
- 委员撤销不了 HOT 1
- 源码编译问题 HOT 1
- 基于Merkle树交易存在性证明,go代码实现过程中遇到问题 HOT 2
- Fisco3.2官方文档中“多群组区块链(Pro版本)”部分的教程,部署监控服务失败 HOT 2
- WeBASE交易流程 HOT 1
- 启动mtail报 Exceed waiting time. Please try again to start mtail
- 通过教程“一键搭建Pro版区块链网络”搭建的网络如何加入监控功能 HOT 1
- Fisco3.2官方文档中“多群组区块链(Pro版本)”部分的教程,监控服务启动后 mtail metric中查不到 node.mtail 中配置的信息
- 新增节点拒接连接
- 【Bug】Disconnect duplicate peer时并没有真正关闭链接 HOT 2
- Sending conflicting transactions when injecting faults may cause the node to become stuck in operation.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fisco-bcos.