Changes between Version 39 and Version 40 of RowLevelPermissions
- Timestamp:
- Apr 19, 2013, 6:16:08 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RowLevelPermissions
v39 v40 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. 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.gfhfhfghfgh