Authorisation
Allow users permission based on membership and role.
Groups can be used as an authorisation tool in smart contracts, Web2 and the real world.
Smart contract example
Say you have a smart contract for voting. You can use groups to only allow members to vote.
In the above example, the voting smart contract would check that the user hasn't voted yet and then check with the groups smart contract, that the user is a member of group with id 5.
Last updated