Give a group roles in several apps
A group gives its members roles in several applications at once. Give the group “Board” the
role board in the club application and editor in the calendar, add the people, and each of
them holds both roles. Remove a person from the group, and they lose both.
The groups are on the Groups tab of the administration page at /matterdata. You need the
Administrator or the Login manager role to open it. Read
Who administers an organization for what the roles mean.
Create a group
Section titled “Create a group”- Open
/matterdata/groups. - Under Create group, type the Name that people see, for example
Board. - Type the Key, for example
board. Use lower-case letters, digits and underscores, and start with a letter. The key cannot be changed later. - Press Create group.
A key that another group already has is refused, and nothing is created. To change the name later, edit Name on the group’s card and press Save name.
Give the group its roles
Section titled “Give the group its roles”Each group’s card has one set of Roles boxes for each application, and one set of Administration roles boxes.
- Find the group’s card.
- Under the application’s Roles, tick every role the group gives. Clear a box to take the role away.
- Press Save roles below those boxes.
- Repeat for each application.
Each save changes one application. The members use the new roles on their next request.
An application role you give through a group means what that application says, exactly as when you give it to a login. A group has no row condition of its own.
Administration roles give the members an engine role. The boxes show only the roles you may give: you may give an engine role only when you hold every right it carries. A group can give an engine role, and it still grants nothing inside an application.
Add and remove members
Section titled “Add and remove members”- On the group’s card, choose a login under Add a member.
- Press Add member.
To remove a member, press Remove beside their address. A removed member loses the group’s roles on their next request and keeps their own roles.
A login’s card under Logins lists its groups and the roles each one gives. That list is read-only; change the membership here.
If the group holds an engine role that you do not hold every right of, its card has no Add a member form, no Remove buttons and no Delete group button. The card says why. Ask an Administrator.
Delete a group
Section titled “Delete a group”- On the group’s card, open Delete group.
- Press Delete now.
The group, its memberships and its roles are deleted. Each member keeps their own roles and loses the roles they held through this group.
Keep one administrator
Section titled “Keep one administrator”The organization always keeps one enabled login that holds Administrator. These group acts are refused when they would leave none, and nothing is changed:
- removing the member,
- taking Administrator from the group,
- deleting the group.
Give another login the Administrator role first, then repeat the act.
Review the group changes in the audit log
Section titled “Review the group changes in the audit log”Every group act that succeeds writes one admin.authority event on the table mtd_group, kept
forever. The event names the administrator who acted and the group, and its detail names the act:
| Act | Detail |
|---|---|
create_group |
the group’s key |
rename_group |
the new name |
delete_group |
the group’s key |
add_member, remove_member |
the login, as subject |
grant_group_role, revoke_group_role |
the application and the role; the engine’s roles have the application matterdata |
A refused act writes no event. A role save that changes nothing writes no event.