Preview: this product has not been released yet. The description may change before release.
Skip to main content

Roles and permissions

Every service says in a catalog which permissions it has, one per function, such as ac.connector.install. The Identity Provider keeps who holds which: a role is a bundle of permissions, and it is assigned to an account, a group or a client. The decision is taken at every request by the service itself. A new assignment takes effect with the next token, within five minutes; a permission marked "at once" is confirmed with the Identity Provider by the service, so it takes effect at once.

The page Roles shows four kinds:

  • Templates: Viewer, Operator and Administrator. They follow the catalogs by themselves and cannot be changed. The viewer reads the operation, the operator runs it, the administrator may do everything.
  • Service: the role of a service of the installation. It comes from the configuration of the installation and belongs to that service alone.
  • Catalog: roles a service brings with its catalog, such as Accounting (platform). They are named ‹namespace›:‹key›, follow every version of the catalog and cannot be changed, but they can be assigned and copied as a role of your own. When the catalog retires one, it keeps its assignments but gives nothing any more (retired since a version).
  • Custom: roles an administrator makes, also as a copy of a template. They do not follow the catalogs by themselves. When a permission is retired with successors, the role gets the successors; without successors it stays in the role as retired and has no effect any more.

The column Marks names what makes a role special: privileged is a role that gives a permission marked »at once« or a sensitive one, lets its holder give roles, or that its catalog marks so. Its assignment waits for a second person (see Approval). A role its catalog asks for is given only for a time; its assignment names an end.

Some permissions are sensitive, such as the personnel file or payments. They are in no template, not even Administrator, and come only through a role that names them on purpose.

New accounts get no role; the template is given in the account's dialog. The former roles Admin and User are gone: the move to Identity 16 turned them into assignments of the templates Administrator and Operator. The Identity Provider never lets nobody be able to give roles: a change that would hit the last active account holding that permission is refused.

Groups​

A group bundles accounts. A role assigned to a group holds for every account in it. Members are added by whoever may give roles: by the address of the account in the dialog Manage members. When the group carries a privileged role, a new member gets that role by joining: it stands as waits for agreement in the list until a second person chooses Approve.

Some groups are kept by a service, such as one per position by the platform (kept by its client). Their name and members are then kept by the service alone; which roles the group carries is still decided by a person under Assignments. A group a service keeps never carries a privileged role.

Assignments​

The page Assignments shows who holds which role. Assign role gives a role to an account, a group or a client, everywhere or only within a scope such as a node of the topology (‹kind›:‹id›). A client of a user interface gets no role: whoever signs in through it brings their own permissions. The roles of the services stand there marked by the installation and cannot be withdrawn here.

Approval, period and reason​

Assignments follow fixed rules:

  • Nobody gives a right to itself: no role to one's own account, to a group one is in or to one's own client, and nobody widens a role they hold themselves.
  • Period: an assignment can begin later (Valid from) and end (Valid until). It counts only in between; at its end it lapses by itself, at the latest when the token expires. An assignment with an end names its Reason.
  • Approval: the assignment of a privileged role names its reason and stands as waits for agreement until a second person who may give roles chooses Approve, never the one who asked for it. Refuse withdraws the request. A request nobody agrees to within 30 days lapses.
  • First person of an installation: as long as only one account may give roles, there is no second person. It may then give roles to itself, and privileged assignments count at once; each such assignment stands in the protocol and goes to the channels of the installation as a security event. With the second account that may give roles, the rules above hold.
  • Recent sign-in: Assign role, Approve (an assignment as well as a membership) and creating or changing a role take a sign-in no more than a few minutes old (see users → recent sign-in). If it is older, the interface leads through the sign-in page and back to the page: the dialog opens again and starts from the beginning, an approval stands there again as a question. Nothing is agreed to until one chooses Approve there. Withdrawing, refusing and deleting take no recent sign-in.

Catalogs​

The page Permission catalogs shows every namespace the installation gave a service, with version, state and permissions. Catalog missing means: the service has not published its catalog yet. Until then tokens for it carry no permissions, and it refuses instead of allowing anything. Usually the service is starting or cannot reach the Identity Provider; its status page names the reason.