equal
deleted
inserted
replaced
59 params: a dict with params for this View |
59 params: a dict with params for this View |
60 """ |
60 """ |
61 |
61 |
62 rights = access.Checker(params) |
62 rights = access.Checker(params) |
63 rights['any_access'] = ['allow'] |
63 rights['any_access'] = ['allow'] |
64 rights['show'] = ['checkIsDocumentPublic'] |
64 rights['show'] = ['checkIsDocumentReadable'] |
|
65 rights['create'] = ['checkIsUser'] |
|
66 rights['edit'] = ['checkIsDocumentWritable'] |
|
67 rights['delete'] = ['checkIsDocumentWritable'] |
65 |
68 |
66 new_params = {} |
69 new_params = {} |
67 new_params['logic'] = document_logic |
70 new_params['logic'] = document_logic |
68 new_params['rights'] = rights |
71 new_params['rights'] = rights |
69 |
72 |