# πŸ”‘ Roles & Permissions

Roles & permissions allow you to set up your Peering DAO how you want it to operate. They provide enough flexibility to adapt to many different kinds of real-world use cases you may need.

# Role

A role is a tag used to group users together. Role names can be freely chosen by your Peering apart from the pre-defined leader role which is automatically assigned to the Peering creator.

For the naming of roles, we suggest adhering to the widely used camel case (opens new window) convention in singular word format. Here are some examples, so you don't spend time researching it:

  • leader (singular; all lowercase)
  • betaTester (two words; no space; first word lowercase, capitalize second word)
  • frontendWebDeveloper (first word lowercase; capitalize second & third word)

# Decision Making

There are two types of decisions that role members can form together: Text-only proposals, and proposals that have Actions attached. Since the latter can contain actions that could pose potential risks to a Peering's Vault or abuse through other special privileges the smart contract has, Actions require a signature by the majority of role members for proposals to pass – if not defined otherwise by a Policy.

Text-only proposals are risk-free and therefore allow anyone owning the Peering's vote token to vote and make their voices heard.

# About the Leader Role

Progressive Decentralization β€” a process in which founding teams relinquish control by degrees, over time.

By default, only Leaders are allowed to attach Actions to their proposals but they may release more and more control to other roles over time. A Peering with a single leader can add & execute Actions soley by themselves, but they may opt-in to assign further leaders to continue forming decisions together. A Peering with multiple leaders automatically enforces a Multisig-like signer quorum for proposals.

# Permission

A permission is an ability to perform a certain action on the blockchain or inside the PeerMe ecosystem using Tickets.

# Policy

A policy is the actual granting of a specific permission to a particular role. It defines a mapping between the role and permission while also defining the parameters under which the role can invoke the permission. The parameters include method: β€˜token weight’, β€˜one’, β€˜all’, or β€˜quorum’ and other items like the quorum count or vote duration (for token weight).

Last Updated: 2/22/2023, 11:02:07 AM