Updated permissions docstrings
authorThierry Florac <thierry.florac@onf.fr>
Tue, 20 Jun 2017 16:40:40 +0200
changeset 98 2bc1e87c3155
parent 97 02671458ec76
child 99 2d076b2b485a
Updated permissions docstrings
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'''