Description of the Issue
Problem: I am attempting to add a managed user as 'Group Admin' member but ensure that they have no additional configurable permissions
Please refer to Box community post:
Versions Used
Box Python SDK: boxsdk==2.4.1
Python: 3.7.3
Steps to Reproduce
-
Attempt to add a managed user as Group Admin role to an existing group
-
Attempt to pass no additional configurable permissions i.e.
- create new user accounts
- manage group member accounts
- run reports on group activity
- Instant login to group member accounts
-
Check Group Admin role permission in users profile in Admin console (search for user, select group user is admin for / click on cog to view 'Access Level'
Desired Outcome: All of these Access Levels are unchecked when first adding Group Admin role
My project code
def createGroupMembership(groupID, boxUserId):
''' for given group add user ID as a member '''
try:
user = sa_client.user(boxUserId)
role = 'admin'
membership = sa_client.group(group_id=groupID).add_member(
user, role, configurable_permissions=None)
Error Message, Including Traceback
No Error messages - The group membership is successfully created but 'configurable_permissions=None' is being ignored.
I suspect this issue could be linked to similar issue for shared link 'unshared_at' bug 424 which was recently fixed
Description of the Issue
Problem: I am attempting to add a managed user as 'Group Admin' member but ensure that they have no additional configurable permissions
Please refer to Box community post:
Versions Used
Box Python SDK: boxsdk==2.4.1
Python: 3.7.3
Steps to Reproduce
Attempt to add a managed user as Group Admin role to an existing group
Attempt to pass no additional configurable permissions i.e.
Check Group Admin role permission in users profile in Admin console (search for user, select group user is admin for / click on cog to view 'Access Level'
Desired Outcome: All of these Access Levels are unchecked when first adding Group Admin role
My project code
Error Message, Including Traceback
No Error messages - The group membership is successfully created but 'configurable_permissions=None' is being ignored.
I suspect this issue could be linked to similar issue for shared link 'unshared_at' bug 424 which was recently fixed