source: publico/ILIntranet/trunk/config.py @ 962

Última Alteração nesse arquivo desde 962 foi 962, incluída por jeanferri, 14 anos atrás

Implementados workflows na ligação telefônica da intranet

File size: 1.1 KB
Linha 
1#
2# Product configuration. This contents of this module will be imported into
3# __init__.py and every content type module.
4#
5# If you wish to perform custom configuration, you may put a file AppConfig.py
6# in your product's root directory. This will be included in this file if
7# found.
8#
9from Products.CMFCore.CMFCorePermissions import setDefaultRoles
10
11PROJECTNAME = "ILIntranet"
12
13# Permissions
14DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
15setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
16ADD_CONTENT_PERMISSIONS = {
17    'LigacaoInterurbana': 'Add LigacaoInterurbana Content',
18    'PastaLigacaoInterurbana': 'Add PastaLigacaoInterurbana Content',
19}
20
21setDefaultRoles('Add LigacaoInterurbana Content', ('Manager', 'Owner', 'Member'))
22setDefaultRoles('Add PastaLigacaoInterurbana Content', ('Manager', 'Owner', 'Member'))
23
24product_globals=globals()
25
26##code-section config-bottom #fill in your manual code here
27
28DEPENDENCIES = ['Archetypes']
29
30##/code-section config-bottom
31
32
33# load custom configuration not managed by ArchGenXML
34try:
35    from Products.ILIntranet.AppConfig import *
36except ImportError:
37    pass
38
39# End of config.py
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.