class PermissionDeniedReason(bb.Union): (source)
Possible reasons the user is denied a permission. 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 sharing.PermissionDeniedReason.user_not_same_team_as_owner: User is not on the same team as the folder owner. :ivar sharing.PermissionDeniedReason.user_not_allowed_by_owner: User is prohibited by the owner from taking the action. :ivar sharing.PermissionDeniedReason.target_is_indirect_member: Target is indirectly a member of the folder, for example by being part of a group. :ivar sharing.PermissionDeniedReason.target_is_owner: Target is the owner of the folder. :ivar sharing.PermissionDeniedReason.target_is_self: Target is the user itself. :ivar sharing.PermissionDeniedReason.target_not_active: Target is not an active member of the team. :ivar sharing.PermissionDeniedReason.folder_is_limited_team_folder: Folder is team folder for a limited team. :ivar sharing.PermissionDeniedReason.owner_not_on_team: The content owner needs to be on a Dropbox team to perform this action. :ivar sharing.PermissionDeniedReason.permission_denied: The user does not have permission to perform this action on the link. :ivar sharing.PermissionDeniedReason.restricted_by_team: The user's team policy prevents performing this action on the link. :ivar sharing.PermissionDeniedReason.user_account_type: The user's account type does not support this action. :ivar sharing.PermissionDeniedReason.user_not_on_team: The user needs to be on a Dropbox team to perform this action. :ivar sharing.PermissionDeniedReason.folder_is_inside_shared_folder: Folder is inside of another shared folder. :ivar sharing.PermissionDeniedReason.restricted_by_parent_folder: Policy cannot be changed due to restrictions from parent folder.
Class Method | insufficient |
Create an instance of this class set to the ``insufficient_plan`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_insufficient_plan` is true. |
Method | is |
Check if the union tag is ``folder_is_inside_shared_folder``. |
Method | is |
Check if the union tag is ``folder_is_limited_team_folder``. |
Method | is |
Check if the union tag is ``insufficient_plan``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``owner_not_on_team``. |
Method | is |
Check if the union tag is ``permission_denied``. |
Method | is |
Check if the union tag is ``restricted_by_parent_folder``. |
Method | is |
Check if the union tag is ``restricted_by_team``. |
Method | is |
Check if the union tag is ``target_is_indirect_member``. |
Method | is |
Check if the union tag is ``target_is_owner``. |
Method | is |
Check if the union tag is ``target_is_self``. |
Method | is |
Check if the union tag is ``target_not_active``. |
Method | is |
Check if the union tag is ``user_account_type``. |
Method | is |
Check if the union tag is ``user_not_allowed_by_owner``. |
Method | is |
Check if the union tag is ``user_not_on_team``. |
Method | is |
Check if the union tag is ``user_not_same_team_as_owner``. |
Class Variable | folder |
Undocumented |
Class Variable | folder |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | owner |
Undocumented |
Class Variable | permission |
Undocumented |
Class Variable | restricted |
Undocumented |
Class Variable | restricted |
Undocumented |
Class Variable | target |
Undocumented |
Class Variable | target |
Undocumented |
Class Variable | target |
Undocumented |
Class Variable | target |
Undocumented |
Class Variable | user |
Undocumented |
Class Variable | user |
Undocumented |
Class Variable | user |
Undocumented |
Class Variable | user |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``insufficient_plan`` tag with value ``val``. :param InsufficientPlan val: :rtype: PermissionDeniedReason