Changes between Version 40 and Version 41 of RowLevelPermissions
- Timestamp:
- Apr 19, 2013, 6:16:39 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RowLevelPermissions
v40 v41 8 8 * `has_delete_permission(self, request, obj=None`): Should return `True` if deleting `obj` is permitted, `False` otherwise. If `obj` is `None`, should return `True` or `False` to indicate whether deleting objects of this type is permitted in general (e.g., if `False` will be interpreted as meaning that the current user is not permitted to delete any object of this type). 9 9 10 For public-facing (i.e., non-admin) views, you are of course free to implement whatever form of permission-checking logic your application requires. gfhfhfghfgh10 For public-facing (i.e., non-admin) views, you are of course free to implement whatever form of permission-checking logic your application requires.