Changes between Version 27 and Version 28 of RowLevelPermissions


Ignore:
Timestamp:
Aug 19, 2006, 6:50:22 PM (18 years ago)
Author:
JayKlehr
Comment:

just some type-o fixes

Legend:

Unmodified
Added
Removed
Modified
  • RowLevelPermissions

    v27 v28  
    1313== Current Status ==
    1414
    15 Row level permissions is now working, it should still be considered beta but it can be used. Please see below for more details on how to utilize row levle permissions.
     15Row level permissions is now working, it should still be considered beta but it can be used. Please see below for more details on how to utilize row level permissions.
    1616
    1717== Todo ==
     
    2525There are a few things you need to know about row level permissions before working with them:
    2626
    27  * Row level permissions use the permissions table to determine an objects possible permissions, you need to create permissions in the permissions table before using them in row level permissions.
     27 * Row level permissions use the permissions table to determine an object's possible permissions, you need to create permissions in the permissions table before using them in row level permissions.
    2828 * Row level permissions can be negative, this is determined by an attribute called "negative".
    2929 * The order of checking permissions will work in the following order: User Row Level Permission -> Group Row Level Permission -> User Model Level Permission -> Group Model Level Permission. The checking will stop either at the first positive or negative, and if no permission is found will return a negative.
     
    7171}}}
    7272
    73 To return the instance of a row level permission use the attribte "model". For example:
     73To return the instance of a row level permission use the attribute "model". For example:
    7474{{{
    7575#!python
     
    8989   ...
    9090}}}
    91 The permission parameter can either be the codename of the permission or a permission instance. The negative param is optional and will default to false. You must pass an instance of the object and owner to this method.
     91The permission parameter can either be the codename of the permission or a permission instance. The negative parameter is optional and will default to false. You must pass an instance of the object and owner to this method.
    9292
    9393The second is create_default_row_permissions:
     
    9999This will set up a row level permission with the default permissions set up for an object. The default permissions are: add, change and delete.
    100100
    101 An example of it's use is, this creates a change row level permission on the quartz object:
     101An example of its use, this creates a change row level permission on the quartz object:
    102102{{{
    103103#!python
Back to Top