Organizations

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):

  • Administrator
  • Developer

Users are assigned the Developer role by default.

Organization roles & permissions

Permission Administrator Developer
Invite new users
View and delete invitations
View organization users
Create repositories
Create groups
Add maintainers to groups
Delete groups
Grant and revoke organization roles
Edit organization details
Delete the organization

Groups

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.