Suppose I create two Participant type A and B respectively, and a transaction X which can only be executed by participant type B or admin.
Moreover, I added some permission rule that Participant A can be created/updated only by the admin or other Participant of type A.
Now, my logic in transaction X requires creation/updating of Participant A. So, If I execute the transaction X using one of the Participant B registry ID, will it be able to create/update the participant A?
If not, then is there any way to do so?
A participant using transaction to update/add another participant
101 Views Asked by Sourav At
1
There are 1 best solutions below
Related Questions in HYPERLEDGER-COMPOSER
- ORDER BY not working in named query
- command line composer command not defined
- How can I specify canonical server name in composer connection profile?
- Transaction Promise Timeout Error
- Hyperledger composer integration with Fabric
- Try to update hyperledger-composer version,but still not compatible with the client version
- How can I write a condition in a rule of the ACL file, if I'm working with arrays?
- Default Business Network can be changed on hyperledger Composer Playground installed locally?
- How to communicate with external system
- How to map fabric credentials and user IDs provided by the front end apps(such as Angular apps) when calling composer-rest-server?
- Submit option is not visible while creating Participant in marbles-network 0.1.7 tutorial (Cannot Scroll down)
- Why is timestamp part of every transaction input in hyperledger composer?
- Attempt to launch Hyperledger Composer app using npm start gives "Cannot find name %participant%" error
- Why can I submit a transactionID with a transaction in hyperledger composer REST?
- Is there a way to see 'raw' blockchain data using Hyperledger Composer?
Related Questions in SMARTCONTRACTS
- Automatic Transfer of Token in Solidity Contract
- How to test smart contract with cross-contract invoke using truffle?
- How to accurately measure the effort required to reduce a λ-term?
- How do display all the events logs from a smart contract?
- sending ether to external address using fallback function in an ethereum contract
- Creating instance of contract inside another contract and calling it's methods results in thrown exception
- How can I include real world data in a smart contract?
- Where in Ethereum blockchain do transaction details of a smart contract get written?
- Is is possible to access public structure fileds in NEAR smart-contract without a function?
- NEAR Protocol - What happens when Rust contract method args are declared as (&mut self, ...) vs. (&self, ...)?
- NEAR Protocol Rust contracts - what's the difference between near-sdk-rs data structures and std ones?
- smart contract gas cost
- How to check if a NEAR account has a smart-contract deployed and implements a required interface?
- Making a Dapp, getting an error: setProvider is not defined?
- Solidity: problem creating a struct containing mappings inside a mapping
Related Questions in ROLE-BASED-ACCESS-CONTROL
- Authorization Model: Context of Role?
- JHipster Role based masking of certain columns
- How to make IIS authorize requests based on Windows user name or group membership?
- Group role based authorization
- Is it possible to restrict user/role access to TFS by file extension?
- How to Securely Differentiate Admin and User Roles with NextAuth and Next.js?
- Not able to give owner access from classic service administrator role
- Role-based chat system in Nodejs
- Allow everyone in RoleBinding for a namespace
- How safe is job role based authorization in react?
- Role based Authentication: Bearer Token to Cookie using Microsoft .NetCore 3.1
- Role based authentication in React Native app using Firebase
- API and Database Access Control Architecture
- Role based authorization in spring boot
- A participant using transaction to update/add another participant
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If I have understood your requirement correctly, then these rules should work for the core of what you want: (This example uses the default Basic Sample Network)