Changes between Version 33 and Version 34 of RowLevelPermissions
- Timestamp:
- Sep 18, 2006, 10:57:19 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RowLevelPermissions
v33 v34 75 75 === Checking Permissions === 76 76 77 In the next week, GenericAuthorization and row level permissions willbe merged. Therefore, I have shown two different methods of checking for permissions, one using the generic authorization and the currently implemented technique.77 GenericAuthorization and row level permissions will eventually be merged. Therefore, I have shown two different methods of checking for permissions, one using the generic authorization and the currently implemented technique. 78 78 79 79 The current method uses the has_perm method in the User model. Note: The object parameter is optional, this is to allow backwards compatibility, so if you do not want to check for row level permissions do not include the object parameter.