stable
Clone or download
Read-only
part of story #12454 Lock documents How to test: - administrator should be able to lock any document without lock - administrator should be able to release any lock - document writer should be able to lock files he can write - document writer should be able to release only its own lock - docman reader should not be able to lock/unlock documents Change-Id: I731541d2092cd1dd37fb0fce6d8bbc00a0af1312
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/api/rest-querier.js | +19 | −1 | Go to diff View file |
M | plugins/document/scripts/document/app.spec.js | +3 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/App.vue | +4 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.spec.js | +70 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.vue | +12 | −1 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/ActionsDropDown/LockItem.spec.js | +122 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/ActionsDropDown/LockItem.vue | +59 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/ActionsDropDown/UnlockItem.spec.js | +134 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/ActionsDropDown/UnlockItem.vue | +61 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.spec.js | +65 | −1 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/Error/ShowErrorDetails.vue | +16 | −9 | Go to diff View file |
M | plugins/document/scripts/document/po/fr.po | +9 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions-helpers/handle-errors.js | +9 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +25 | −2 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.spec.js | +86 | −2 | Go to diff View file |
M | plugins/document/scripts/document/store/error/error-getters.js | +15 | −3 | Go to diff View file |
M | plugins/document/scripts/document/store/error/error-mutations.js | +9 | −1 | Go to diff View file |
A | plugins/document/scripts/document/store/error/error.getters.spec.js | +154 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/error/module.js | +3 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/mutations-upload.js | +6 | −1 | Go to diff View file |