Changes between Version 92 and Version 93 of BluePrintAuthorization


Ignore:
Timestamp:
06/25/10 15:04:05 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorization

    v92 v93  
    9494=== Function restriction ===
    9595 * Decorator function:
    96   * ~~@auth.requires_membership("Administrator")~~
    97    * not efficient now we have {{{session.s3.roles}}} - should write a {{{@auth.shn_requires_membership()}}} decorator for the simple case
     96  * ~~@auth.shn_requires_membership("Administrator")~~
     97   * ~~rewritten to use shn_has_role()~~
    9898   * doesn't support OR, doesn't support NOT
    9999 * We need a function which efficiently handles OR, AND & NOT. With roles cached in session, this is easy: