Roles and permissions
What each organization role lets you do, how owners create custom roles, and the rules that keep an organization safe.
Everything you can do in an organization comes from your role there. A role is a named set of permissions, such as publishing or managing members. Erden checks the permission on every request, so a change to your role applies the next time you open a page, run the command-line tool, or your AI agent calls the registry.
The built-in roles
Every organization has four built-in roles. They cannot be edited or deleted.
| Permission | Reader | Publisher | Administrator | Owner |
|---|---|---|---|---|
| Read content | Yes | Yes | Yes | Yes |
| Read publications | Yes | Yes | Yes | Yes |
| Publish | No | Yes | Yes | Yes |
| Create projects | No | Yes | Yes | Yes |
| Manage projects | No | No | Yes | Yes |
| Claim namespaces | No | No | Yes | Yes |
| Manage members | No | No | Yes | Yes |
| Manage roles | No | No | No | Yes |
| Manage owners | No | No | No | Yes |
| Manage the organization | No | No | No | Yes |
Your account page shows your role in each organization and links to the pages it lets you use.
Custom roles
Owners can give someone a narrower job than the built-in roles allow, for example a release manager who publishes and creates projects but does not manage people.
Only if the registry has it
Custom roles are an optional feature that the Erden team turns on. If your account page shows no Roles link next to Manage members, it is off; ask the Erden team. See feature status.
Who can do what:
| Task | Who |
|---|---|
| See the roles page | Owners, and anyone whose role includes Manage roles |
| Create, edit, or delete a role | The same people, and only with permissions they hold themselves |
| Create a role that manages people | Owners only (a role with Manage members or Manage roles) |
| Assign a custom role | Anyone who may manage members, on the Members page, if they hold every permission it has |
Open the roles page
On your account page, choose Roles under the organization. The table shows every role in the organization and the permissions each one grants, built-in roles first.
Create a role
Choose New role, give it a name (1 to 48 characters) and an optional description, and tick the permissions it grants.
What you should see while you choose:
- Read content and Read publications are always ticked: every role can read.
- Manage owners and Manage the organization are locked. They stay with the built-in Owner role, and ownership still moves only through an ownership invitation.
- A permission you do not hold is locked too, with a note saying why.
- Some permissions need another one. Create projects needs Publish; the note under each says what it requires.
Choose Create role. The role appears beside the built-in roles.
Assign it
Open the Members page, pick the role for a member, and choose Update membership, the same way as a built-in role.
An organization can have up to 32 custom roles. A role that anyone still holds cannot be deleted; the role page says how many members hold it, so give them another role first.
If someone else changes the roles at the same time
Two owners can edit roles at once. When a form loses that race, nothing is saved, and what the form does next depends on whether you were creating or editing:
| You were | What you see | What to do |
|---|---|---|
| Creating a role | The form comes back with everything you typed and says exactly what now stands in the way, for example that another role has just taken the name, or that the organization has reached 32 custom roles. | Change what it names and submit again. |
| Editing a role | The form is reset to the role as it is saved now, with the message that someone changed the roles while you were editing, so your changes were not saved. Below the form, Your changes, not saved lists what you submitted, read-only. | Make your changes again on the reset form. |
An edit is reset, rather than kept, so that saving it again can never silently undo the other person's change, such as a permission they just removed.
If custom roles are turned off
The role pages disappear, but nothing else changes: members keep the custom roles they hold, with the same permissions, and those roles can still be assigned on the members page.
Rules that keep an organization safe
- You cannot hand out more than you hold. You can only create, change or assign a role whose permissions you hold yourself, and you cannot change the role of someone who holds more than you.
- People management stays with owners. Only owners can create or change roles that manage members or roles, and nobody can widen their own role.
- There is always an owner. The last active owner cannot be removed or demoted.
- Hidden means missing. If you are not allowed to see an organization's members or roles, the page looks exactly as if they did not exist.