For administrators

Roles

What each role may do on the platform, and who holds it.

What this is

A role decides what somebody may do on cyantula: make apps, publish them to colleagues, use the coding agent. It never decides which apps they may open; that is each app's access list (see Access). Everybody has one role of their own, and a group can hand out more on top.

cyantula ships with three roles. You can rename them but not delete them. The administrator role may do everything and its rights cannot be changed.

Where to find it

  1. Open Admin.
  2. Click the card People & access, then Roles.

What you see

A button New role and a table:

  • Role: name and description.
  • May: what the role allows, as tags. The administrator role shows everything. A role without rights shows "only the apps they are given". Tags such as "at most n apps" and, with school mode on, "nk assistant tokens a day" show the limits.
  • Who gets it: newcomers for the default role, the email domains that give it (@domain), and "members of" followed by group names. "nobody yet" when none of these apply.
  • People: how many people hold it.
  • An actions menu with Edit… and, except for built-in and default roles, Delete….

The role form

  • Name (up to 60 characters) and Description (up to 300).
  • May: one checkbox per right, each with its explanation. Which rights exist depends on your installation.
  • New people from these e-mail domains get this role: domains separated by commas or spaces, for example leerling.school.be.
  • Most apps a person may own: a whole number. Empty is no limit. Archived apps, and student apps for an assignment when school mode is on, do not count. Somebody with several roles gets the most generous limit.
  • Assistant tokens a day, paid by the school: only with school mode on. A whole number; empty is no limit. It applies to students on their assignment apps, over every assignment and any 24 hours, on top of each assignment's own budget. People using their own key are never limited here.
  • Everybody else who is new gets this role (the default): makes this the role a newcomer gets when no domain rule or provider says otherwise. The current default cannot be unticked; make another role the default instead.

For the administrator role only the name and description can be changed.

How to create a role

  1. Click New role.
  2. Fill in Name and Description, and tick what the role May do.
  3. Optionally set domains, a limit on apps, or make it the default.
  4. Click Save role.

You know it worked when the role appears in the table. Give it to people from Users (Change role…), to whole teams from Groups (Roles), or to newcomers of one provider in Sign-in providers (Newcomers get the role).

How to change or delete a role

  1. Open the actions menu on the role and click Edit… or Delete….
  2. For a delete, read the warning and click Delete role.

People who hold a deleted role move to the role a newcomer with their address would get.

When something looks wrong

  • The most apps a person may own is a whole number, or empty for no limit. Fix the number and save again.
  • The assistant tokens a day is a whole number, or empty for no limit. Same.
  • A red message above the table after a delete says why the role could not be removed.
  • Save role is greyed out until the role has a name.

Good to know

  • Who may do this: administrators.
  • Changing a role's rights changes them for everybody who holds it.
  • A role never gives access to an app, and a group never makes anybody an administrator.