Conjunto de mudanças 1040 no repositório publico


Ignorar:
Timestamp:
24/10/2005 15:33:18 (14 anos atrás)
Autor:
rafahelabazzanella
Mensagem:

Alterado worklfow, estado pendente

Localização:
ILPortalCasas/trunk
Arquivos:
6 editados

Legenda:

Não Modificado
Adicionado
Removido
  • ILPortalCasas/trunk/Extensions/Install.py

    r892 r1040  
    126126        print >>out,'no workflow uninstall'
    127127
    128     #bind classes to workflows
    129     wft = getToolByName(self,'portal_workflow')
    130     wft.setChainForPortalTypes( ['CalendarX'], "plone_workflow")
    131 
    132128    # try to call a custom uninstall method
    133129    # in 'AppInstall.py' method 'uninstall'
  • ILPortalCasas/trunk/Extensions/InstallWorkflows.py

    r892 r1040  
    1515    workflow = ourProductWorkflow(self, 'portal_modelo_workflow')
    1616    workflowTool._setObject('portal_modelo_workflow', workflow)
    17     workflowTool.setChainForPortalTypes( ['CalendarX'],'plone_workflow')
    1817
    1918    return workflowTool
  • ILPortalCasas/trunk/Extensions/portal_modelo_workflow.py

    r690 r1040  
    9090    stateDef.setPermission('View',
    9191                           0,
    92                            ['Manager', 'Owner'])
    93     stateDef.setPermission('Modify portal content',
    94                            0,
    95                            ['Manager', 'Owner'])
    96     stateDef.setPermission('Change portal events',
    97                            0,
    98                            ['Manager', 'Owner'])
    99     stateDef.setPermission('Access contents information',
    100                            0,
    101                            ['Manager', 'Owner'])
     92                           ['Anonymous', 'Manager', 'Reviewer'])
     93    stateDef.setPermission('Modify portal content',
     94                           0,
     95                           ['Manager', 'Owner'])
     96    stateDef.setPermission('Change portal events',
     97                           0,
     98                           ['Manager', 'Owner'])
     99    stateDef.setPermission('Access contents information',
     100                           0,
     101                           ['Anonymous', 'Manager', 'Reviewer'])
    102102
    103103    stateDef = workflow.states['pending']
     
    168168                                actbox_url="""""",
    169169                                actbox_category="""workflow""",
    170                                 props={'guard_permissions': 'Review portal content'},
     170                                props={'guard_permissions': 'Request review'},
    171171                                )
    172172
  • ILPortalCasas/trunk/config.py

    r700 r1040  
    1313# Permissions
    1414DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
    15 setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
     15setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner'))
    1616ADD_CONTENT_PERMISSIONS = {
    1717}
    1818
    19 setDefaultRoles('Add Pasta Content', ('Manager', 'Owner', 'Member'))
    2019
    2120product_globals=globals()
  • ILPortalCasas/trunk/version.txt

    r690 r1040  
    1 0.1 build 6
     10.1 build 7
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.