UserRoleName

class UserRoleName(*values)[source]

Bases: StrEnum

Enumerates supported Supervisely user roles (e.g. admin, manager, annotator).

You can learn more about the roles in the User Roles documentation.

Methods

has_value

Check if a value is in the enum.

values

Get all values of the enum.

Attributes

ADMIN

Has full access in the team.

DEVELOPER

Similar to the admin, but can only remove entities created by themself and cannot invite new members to the team.

MANAGER

Has no access to things like Neural Networks, but can view and modify Projects & Labeling Jobs.

REVIEWER

Same as Annotator, but can also create new labeling jobs.

ANNOTATOR

Has access only to a single page, Labeling Jobs.

VIEWER

Can only view items in team.

classmethod has_value(value)

Check if a value is in the enum.

Parameters:
value : str

Value to check.

Returns:

True if value is in the enum, False otherwise.

Return type:

bool

classmethod values()

Get all values of the enum.

ADMIN = 'admin'

Has full access in the team. Admin can invite new team members and remove entities created by the other team members.

ANNOTATOR = 'annotator'

Has access only to a single page, Labeling Jobs.

DEVELOPER = 'developer'

Similar to the admin, but can only remove entities created by themself and cannot invite new members to the team.

MANAGER = 'manager'

Has no access to things like Neural Networks, but can view and modify Projects & Labeling Jobs.

REVIEWER = 'reviewer'

Same as Annotator, but can also create new labeling jobs.

VIEWER = 'viewer'

Can only view items in team.