Changes between Version 9 and Version 10 of BluePrintAuthorizationB


Ignore:
Timestamp:
06/20/10 14:38:26 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintAuthorizationB

    v9 v10  
    4646
    4747=== Denial of access ===
    48 
    49   - '''shn_unauthorized()''' realizes error notification and redirection as appropriate
     48{{{
     49shn_unauthorized(msg="You're not allowed to access this module")
     50}}}
     51  - ''shn_unauthorized()'' realizes error notification and redirection as appropriate
    5052  - non-interactive modes:
    5153    - raise a HTTP error and a JSON error message
    52     - DO NOT REDIRECT!
     54    - MUST NOT REDIRECT!
    5355  - interactive modes, one of:
    5456    - redirect (e.g. to login) and and display an error message on the target page (acceptable)
    5557    - raise a HTTP error and display an error page, provide redirection options from the error page (more RESTful)
    56   - shn_unauthorized() takes an optional error message as argument
    5758
     59  - the ''msg'' argument is optional
    5860=== Module/Controller Access ===
    5961