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

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

Geração inicial do produto ILIntranet com o aplicativo para as ligações interurbanas

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
13DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
14setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
15ADD_CONTENT_PERMISSIONS = {
16    'LigacaoInterurbana': 'Add LigacaoInterurbana Content',
17    'PastaLigacaoInterurbana': 'Add PastaLigacaoInterurbana Content',
18}
19
20setDefaultRoles('Add LigacaoInterurbana Content', ('Manager', 'Owner', 'Member'))
21setDefaultRoles('Add PastaLigacaoInterurbana Content', ('Manager', 'Owner', 'Member'))
22
23product_globals=globals()
24
25##code-section config-bottom #fill in your manual code here
26
27DEPENDENCIES = ['Archetypes']
28
29##/code-section config-bottom
30
31
32try:
33    from Products.ILIntranet.AppConfig import *
34except ImportError:
35    pass
36
37# 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.