You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the PermissionBase docstring, remove_principal is supposed to Remove a principal from every user. In other words, remove_principal(principal) is equivalent to remove_user_principal(user_id, principal) for user_id in all_possible_user_ids. However, the current implementation stores all permissions of all kinds in one hash table, and removes the principal from permissions of non-user things as well.
The text was updated successfully, but these errors were encountered:
According to the
PermissionBase
docstring,remove_principal
is supposed toRemove a principal from every user
. In other words,remove_principal(principal)
is equivalent toremove_user_principal(user_id, principal) for user_id in all_possible_user_ids
. However, the current implementation stores all permissions of all kinds in one hash table, and removes the principal from permissions of non-user things as well.The text was updated successfully, but these errors were encountered: