app/soc/views/models/document.py
changeset 1305 9567bb475d6d
parent 1274 5f87d9807b77
child 1307 091a21cf3627
equal deleted inserted replaced
1304:b736aed728c2 1305:9567bb475d6d
    63     rights['any_access'] = ['allow']
    63     rights['any_access'] = ['allow']
    64     rights['show'] = ['checkIsDocumentReadable']
    64     rights['show'] = ['checkIsDocumentReadable']
    65     rights['create'] = ['checkIsUser']
    65     rights['create'] = ['checkIsUser']
    66     rights['edit'] = ['checkIsDocumentWritable']
    66     rights['edit'] = ['checkIsDocumentWritable']
    67     rights['delete'] = ['checkIsDocumentWritable']
    67     rights['delete'] = ['checkIsDocumentWritable']
       
    68     rights['pick'] = ['checkDocumentPick']
    68 
    69 
    69     new_params = {}
    70     new_params = {}
    70     new_params['logic'] = document_logic
    71     new_params['logic'] = document_logic
    71     new_params['rights'] = rights
    72     new_params['rights'] = rights
    72 
    73