Closed kmmbvnr closed 5 months ago
All those universal shortcuts has crazy code complexity, hard to optimize and hard to use, need to be spitted over assign_group_perm assign_user_perm.. assign_list... and etc
UserObjectPermission.objects.assign_perm('a_permission', group, obj=...) should not be allowed!
Also the readme could be changed, it's a minor fix and anyway would be changed in the future releases
Original issue: https://github.com/django-guardian/django-guardian/pull/767