+ +
+

pyams_utils.interfaces package

+
+

Submodules

+
+
+

pyams_utils.interfaces.data module

+
+
+

pyams_utils.interfaces.intids module

+
+
+

pyams_utils.interfaces.site module

+
+
+

pyams_utils.interfaces.size module

+
+
+

pyams_utils.interfaces.tales module

+
+
+

pyams_utils.interfaces.text module

+
+
+

pyams_utils.interfaces.timezone module

+
+
+class pyams_utils.interfaces.timezone.Timezone(**kw)
+

Bases: zope.schema._field.Choice

+

Timezone choice field

+
+ +
+
+

pyams_utils.interfaces.traversing module

+
+
+

pyams_utils.interfaces.tree module

+
+
+

pyams_utils.interfaces.zeo module

+
+
+

Module contents

+
+
+pyams_utils.interfaces.FORBIDDEN_PERMISSION = 'system.forbidden'
+

Custom permission which is never granted to any user

+
+ +
+
+pyams_utils.interfaces.MANAGE_PERMISSION = 'manage'
+

Permission used to manage basic informations this permission is generally not used by custom contents

+
+ +
+
+pyams_utils.interfaces.MANAGE_ROLES_PERMISSION = 'security.manage_roles'
+

Permission used to manage roles

+
+ +
+
+pyams_utils.interfaces.MANAGE_SECURITY_PERMISSION = 'security.manage'
+

Permission used to manage security settings

+
+ +
+
+pyams_utils.interfaces.MANAGE_SYSTEM_PERMISSION = 'system.manage'
+

Permission used to manage system settings

+
+ +
+
+exception pyams_utils.interfaces.MissingRequestError
+

Bases: Exception

+

Error raised when no request is available

+
+ +
+
+pyams_utils.interfaces.PUBLIC_PERMISSION = 'public'
+

Public permission is granted to every principal

+
+ +
+
+pyams_utils.interfaces.PYAMS_APPLICATION_DEFAULT_NAME = 'application'
+

ZODB default application name

+
+ +
+
+pyams_utils.interfaces.PYAMS_APPLICATION_FACTORY_KEY = 'pyams.application_factory'
+

Settings key to define site root factory

+
+ +
+
+pyams_utils.interfaces.PYAMS_APPLICATION_SETTINGS_KEY = 'pyams.application_name'
+

ZODB application name settings key

+
+ +
+
+pyams_utils.interfaces.VIEW_PERMISSION = 'view'
+

View permission is a custom permission used to view contents

+
+ +
+
+pyams_utils.interfaces.VIEW_SYSTEM_PERMISSION = 'system.view'
+

Permission used to access management screens

+
+ +
+
+ + +