Changes between Version 6 and Version 7 of UserGuidelines/Admin/Permissions/Rules


Ignore:
Timestamp:
02/09/17 10:36:08 (5 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Admin/Permissions/Rules

    v6 v7  
    109109
    110110auth.s3_has_role(ANONYMOUS) is not a suitable means to differentiate between logged-in users and unauthenticated users (because it is always True). Instead, one should use one of the following alternatives:
    111 - auth.s3_logged_in() (which performs an implicit HTTP BasicAuth if necessary), or
    112 - auth.user!=None (if no implicit Authentication is desired), or
     111- auth.s3_logged_in() (which performs an implicit HTTP Basic Authentication if necessary), or
     112- auth.user!=None (if no implicit Basic Authentication is desired), or
    113113- auth.s3_has_role(AUTHENTICATED).
    114114