Roles & Permissions

Permissions

Users can be allowed to perform various actions on the site via permissions. 

Many permissions refer to a particular resource, for example a file. Permission group will typically have four separate permissions. View, create, update and delete.

Lets take file as an example:

User does not need view, update or delete permission to view or modify their own resources (files in this example) only resources that do not belong to them.

Roles

Roles can be attached to multiple users. They can be created from admin -> roles page.

Users will inherit all permissions from all roles they belong to.

Roles also have two special types:

Adding permissions to users

Users can be given permissions in three ways:

  1. Directly to the user from admin -> users page. Either when creating a new user or editing existing one.

  2. By giving permission to a role from admin -> roles page. Users belonging to this role will inherit role's permissions.

  3. By giving permissions to a subscription plan from admin -> plans page. Users subscribed to this plan will have permissions attached to the plan.