Changes between Version 3 and Version 4 of Ticket #31093
- Timestamp:
- Dec 15, 2019, 8:36:20 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31093 – Description
v3 v4 15 15 return False 16 16 17 return ( 18 user_obj.profile == 'admin' 19 or obj.related_model_fk in user_obj.related_model_m2m.all() 20 ) 17 return user_obj.is_superuser or obj.related_model_fk in user_obj.related_model_m2m.all() 21 18 }}} 22 19