D
Docs
Documentation Organization Roles

Organization Level Roles & Permissions

If you wish to use the app as a multi-tenant app, the Organizations owners can create roles & permissions for their organization.

Default Roles & Permissions

The roles & Permissions work similar to the global roles & permissions, but are scoped to the organization separately.

Every time an organization is created, the following roles & permissions are created:

RolePermissions
OwnerAll permissions
AdminAll permissions
Memberorganization:read, members:read, roles:read, projects:read, analytics:read
Viewerorganization:read, members:read, projects:read

Available Permissions

These permissions are seeded by default but can be modified in the server/services/organizationService.ts file.

Every permission is scoped to the organization. The owner and admins have all permissions and can independantly create new roles.

Creating new permissions is done only from the code as they need to be assigned to specific actions.

PermissionDescription
organization:readView organization details
organization:updateUpdate organization settings
organization:deleteDelete organization
members:readView organization members
members:inviteInvite new members
members:removeRemove members from organization
members:updateUpdate member roles and status
roles:readView organization roles
roles:createCreate new roles
roles:updateUpdate existing roles
roles:deleteDelete roles
permissions:readView organization permissions
permissions:createCreate new permissions
permissions:updateUpdate existing permissions
permissions:deleteDelete permissions
invitations:readView organization invitations
invitations:createCreate new invitations
invitations:cancelCancel pending invitations
analytics:readView organization analytics