Organizations are the root entity that wrap everything belonging to an account including Users, Groups, and Repositories.
Role-based access control
Access control in Dist is role-based. Users are assigned roles from which they inherit permissions.
There are two organization roles (which are distinct from repository roles):
Users are assigned the Developer role by default.
Organization roles & permissions
|Invite new users||✔|
|View and delete invitations||✔|
|View organization users||✔||✔|
|Add maintainers to groups||✔|
|Grant and revoke organization roles||✔|
|Edit organization details||✔|
|Delete the organization||✔|
Groups are a collection of users, and are used for access control within repositories.
Groups have maintainers who have the ability to:
- add and remove group members;
- add and remove group maintainers; and
- delete the group.