ErdenDocs

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.

PermissionReaderPublisherAdministratorOwner
Read contentYesYesYesYes
Read publicationsYesYesYesYes
PublishNoYesYesYes
Create projectsNoYesYesYes
Manage projectsNoNoYesYes
Claim namespacesNoNoYesYes
Manage membersNoNoYesYes
Manage rolesNoNoNoYes
Manage ownersNoNoNoYes
Manage the organizationNoNoNoYes

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:

TaskWho
See the roles pageOwners, and anyone whose role includes Manage roles
Create, edit, or delete a roleThe same people, and only with permissions they hold themselves
Create a role that manages peopleOwners only (a role with Manage members or Manage roles)
Assign a custom roleAnyone 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.

The roles page: a table of permissions by role, with the built-in roles and one custom role
The organization roles page.

Create a role

Choose New role, give it a name (1 to 48 characters) and an optional description, and tick the permissions it grants.

The new role form: Read publications ticked and locked, Publish and Create projects ticked
A new Release manager role: Publish and Create projects ticked.

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.

The roles page with the new Release manager column
The new role, next to 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.

A member's card on the members page with Release manager chosen
Choosing the custom role for a member.
The member's card now showing the Release manager role
The member holds the custom 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 wereWhat you seeWhat to do
Creating a roleThe 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 roleThe 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.

The new role form after losing a race: the typed name is kept and a message says another role already has this name
A create that lost a race keeps what you typed.
The edit form reset to the saved role, with a notice that the changes were not saved
An edit that lost a race shows the role as it is saved now.
The Your changes, not saved section listing the submitted name, description and permissions
What you submitted, to make again on purpose.

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.

Where to go next

On this page