Code

Changes between Version 33 and Version 34 of RowLevelPermissions


Ignore:
Timestamp:
09/18/06 08:57:19 (8 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RowLevelPermissions

    v33 v34  
    7575=== Checking Permissions === 
    7676 
    77 In the next week, GenericAuthorization and row level permissions will be merged. Therefore, I have shown two different methods of checking for permissions, one using the generic authorization and the currently implemented technique. 
     77GenericAuthorization 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. 
    7878 
    7979The 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.