auth.backends.ModelBackend.get_group_permissions()

get_group_permissions(user_obj, obj=None)

Returns the set of permission strings the user_obj has from the permissions of the groups they belong. Returns an empty set if is_anonymous or is_active is False.

doc_Django
2016-10-09 18:34:05
Comments
Leave a Comment

Please login to continue.