sym.sdk.user.UserRole

class sym.sdk.user.UserRole(value)

Bases: str, enum.Enum

UserRoles represent very basic permission sets for users in the Sym platform.

UserRoles are defined in descending order of permissions. Each role should include all permissions of the roles below it.

Methods

permission_levels()

Returns a set of PermissionLevels that apply to the role.

Attributes

ADMIN

Admins are allowed to do anything.

MEMBER

Members can run Flows and interact with requests.

GUEST

Guests can approve/deny/revoke requests, if the Flow is configured to allow guest interactions

ADMIN = 'admin'

Admins are allowed to do anything. (e.g. Use symflow CLI, run Flows, apply Terraform)

GUEST = 'guest'

Guests can approve/deny/revoke requests, if the Flow is configured to allow guest interactions

MEMBER = 'member'

Members can run Flows and interact with requests.

permission_levels() Set[sym.sdk.request_permission.PermissionLevel]

Returns a set of PermissionLevels that apply to the role.