# HG changeset patch # User Thierry Florac # Date 1497969640 -7200 # Node ID 2bc1e87c31553dbc956fb19491fa7c2b3c2a9a6e # Parent 02671458ec76354c3f75a890bd178750e9f22b7a Updated permissions docstrings diff -r 02671458ec76 -r 2bc1e87c3155 src/pyams_utils/interfaces/__init__.py --- a/src/pyams_utils/interfaces/__init__.py Mon Jun 19 17:29:46 2017 +0200 +++ b/src/pyams_utils/interfaces/__init__.py Tue Jun 20 16:40:40 2017 +0200 @@ -21,20 +21,20 @@ # -# Custom string constants +# Custom permissions # FORBIDDEN_PERMISSION = 'system.forbidden' '''Custom permission which is never granted to any user''' PUBLIC_PERMISSION = 'public' -'''Public permission is granted to every principal''' +'''Public permission which is granted to every principal''' VIEW_PERMISSION = 'view' '''View permission is a custom permission used to view contents''' MANAGE_PERMISSION = 'manage' -'''Permission used to manage basic informations this permission is generally not used by custom contents''' +'''Permission used to manage basic information; this permission is generally not used by custom contents''' VIEW_SYSTEM_PERMISSION = 'system.view' '''Permission used to access management screens''' @@ -49,6 +49,10 @@ '''Permission used to manage roles''' +# +# Custom string constants +# + PYAMS_APPLICATION_SETTINGS_KEY = 'pyams.application_name' '''ZODB application name settings key'''