Conjunto de Mudanças 1200 no publico para ILSAALRecursosHumanos/trunk/config.py


Ignorar:
Timestamp:
07/11/2005 11:31:28 (14 anos atrás)
Autor:
jonesmadruga
Mensagem:

gerado a partir do novo modelo

Arquivo:
1 editado

Legenda:

Não Modificado
Adicionado
Removido
  • ILSAALRecursosHumanos/trunk/config.py

    r1159 r1200  
    1111PROJECTNAME = "ILSAALRecursosHumanos"
    1212
     13# Check for Plone 2.1
     14try:
     15    from Products.CMFPlone.migrations import v2_1
     16except ImportError:
     17    HAS_PLONE21 = False
     18else:
     19    HAS_PLONE21 = True
    1320# Permissions
    1421DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
    15 setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
     22setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner'))
    1623ADD_CONTENT_PERMISSIONS = {
    1724    'Ferias': 'Add Ferias Content',
     
    3643}
    3744
    38 setDefaultRoles('Add Ferias Content', ('Manager', 'Owner', 'Member'))
    39 setDefaultRoles('Add Vencimentos Content', ('Manager', 'Owner', 'Member'))
    40 setDefaultRoles('Add Recisao Content', ('Manager', 'Owner', 'Member'))
    41 setDefaultRoles('Add Sefip Content', ('Manager', 'Owner', 'Member'))
    42 setDefaultRoles('Add EventoHistoricoFucional Content', ('Manager', 'Owner', 'Member'))
    43 setDefaultRoles('Add AdicionalTempoServico Content', ('Manager', 'Owner', 'Member'))
    44 setDefaultRoles('Add Dependente Content', ('Manager', 'Owner', 'Member'))
    45 setDefaultRoles('Add Empregados Content', ('Manager', 'Owner', 'Member'))
    46 setDefaultRoles('Add Sindicato Content', ('Manager', 'Owner', 'Member'))
    47 setDefaultRoles('Add Sindicatos Content', ('Manager', 'Owner', 'Member'))
    48 setDefaultRoles('Add Dependentes Content', ('Manager', 'Owner', 'Member'))
    49 setDefaultRoles('Add LogRh Content', ('Manager', 'Owner', 'Member'))
    50 setDefaultRoles('Add Sefips Content', ('Manager', 'Owner', 'Member'))
    51 setDefaultRoles('Add Pensionista Content', ('Manager', 'Owner', 'Member'))
    52 setDefaultRoles('Add RepresentanteLegal Content', ('Manager', 'Owner', 'Member'))
    53 setDefaultRoles('Add Empregado Content', ('Manager', 'Owner', 'Member'))
    54 setDefaultRoles('Add Fgts Content', ('Manager', 'Owner', 'Member'))
    55 setDefaultRoles('Add Afastamento Content', ('Manager', 'Owner', 'Member'))
    56 setDefaultRoles('Add Pensionistas Content', ('Manager', 'Owner', 'Member'))
     45setDefaultRoles('Add Ferias Content', ('Manager', 'Owner'))
     46setDefaultRoles('Add Vencimentos Content', ('Manager', 'Owner'))
     47setDefaultRoles('Add Recisao Content', ('Manager', 'Owner'))
     48setDefaultRoles('Add Sefip Content', ('Manager', 'Owner'))
     49setDefaultRoles('Add EventoHistoricoFucional Content', ('Manager', 'Owner'))
     50setDefaultRoles('Add AdicionalTempoServico Content', ('Manager', 'Owner'))
     51setDefaultRoles('Add Dependente Content', ('Manager', 'Owner'))
     52setDefaultRoles('Add Empregados Content', ('Manager', 'Owner'))
     53setDefaultRoles('Add Sindicato Content', ('Manager', 'Owner'))
     54setDefaultRoles('Add Sindicatos Content', ('Manager', 'Owner'))
     55setDefaultRoles('Add Dependentes Content', ('Manager', 'Owner'))
     56setDefaultRoles('Add LogRh Content', ('Manager', 'Owner'))
     57setDefaultRoles('Add Sefips Content', ('Manager', 'Owner'))
     58setDefaultRoles('Add Pensionista Content', ('Manager', 'Owner'))
     59setDefaultRoles('Add RepresentanteLegal Content', ('Manager', 'Owner'))
     60setDefaultRoles('Add Empregado Content', ('Manager', 'Owner'))
     61setDefaultRoles('Add Fgts Content', ('Manager', 'Owner'))
     62setDefaultRoles('Add Afastamento Content', ('Manager', 'Owner'))
     63setDefaultRoles('Add Pensionistas Content', ('Manager', 'Owner'))
    5764
    5865product_globals=globals()
     
    6976
    7077# End of config.py
     78# Things you can do in an AppConfig.py:
     79# STYLESHEETS = [{'id': 'my_global_stylesheet.css'},
     80#                {'id': 'my_contenttype.css',
     81#                 'expression': 'python:object.getTypeInfo().getId() == "MyType"}]
     82# You can do the same with JAVASCRIPTS.
Note: Veja TracChangeset para ajuda no uso do visualizador de conjunto de mudanças.
 

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