class documentation

class AdminTier(bb.Union): (source)

View In Hierarchy

Describes which team-related admin permissions a user has. This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar team.AdminTier.team_admin: User is an administrator of the team - has all permissions. :ivar team.AdminTier.user_management_admin: User can do most user provisioning, de-provisioning and management. :ivar team.AdminTier.support_admin: User can do a limited set of common support tasks for existing users. Note: Dropbox is adding new types of admin roles; these may display as support_admin. :ivar team.AdminTier.member_only: User is not an admin of the team.

Method is_member_only Check if the union tag is ``member_only``.
Method is_support_admin Check if the union tag is ``support_admin``.
Method is_team_admin Check if the union tag is ``team_admin``.
Method is_user_management_admin Check if the union tag is ``user_management_admin``.
Class Variable member_only Undocumented
Class Variable support_admin Undocumented
Class Variable team_admin Undocumented
Class Variable user_management_admin Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_member_only(self): (source)

Check if the union tag is ``member_only``. :rtype: bool

def is_support_admin(self): (source)

Check if the union tag is ``support_admin``. :rtype: bool

def is_team_admin(self): (source)

Check if the union tag is ``team_admin``. :rtype: bool

def is_user_management_admin(self): (source)

Check if the union tag is ``user_management_admin``. :rtype: bool

member_only = (source)

Undocumented

support_admin = (source)

Undocumented

team_admin = (source)

Undocumented

user_management_admin = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all = (source)

Undocumented