app/soc/views/models/document.py
changeset 1318 3f41f33a4ad2
parent 1316 1ddf04976bee
child 1319 042347748c45
equal deleted inserted replaced
1317:fad74cf4e5da 1318:3f41f33a4ad2
    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['list'] = ['checkDocumentList']
    68     rights['pick'] = ['checkDocumentPick']
    69     rights['pick'] = ['checkDocumentPick']
    69 
    70 
    70     new_params = {}
    71     new_params = {}
    71     new_params['logic'] = document_logic
    72     new_params['logic'] = document_logic
    72     new_params['rights'] = rights
    73     new_params['rights'] = rights