auth.models.PermissionsMixin.get_all_permissions()

get_all_permissions(obj=None)

Returns a set of permission strings that the user has, both through group and user permissions.

If obj is passed in, only returns the permissions for this specific object.

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

Please login to continue.