auth.backends.ModelBackend.get_user_permissions()

get_user_permissions(user_obj, obj=None)

Returns the set of permission strings the user_obj has from their own user permissions. Returns an empty set if is_anonymous or is_active is False.

doc_Django
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.