stable

Clone or download

Read-only

Cache the retrieval of the project's user groups globally in the document app

This information is going to be used at multiple points of the app, it should be retrieved only once. Part of story #12457: New document modal: permissions Change-Id: I27076c072ec2c5187cf93ec34518375c07130e31

Modified Files

Name
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateModal.spec.js +11 −29 Go to diff View file
M plugins/document/scripts/document/components/Folder/Permissions/PermissionsUpdateModal.vue +6 −12 Go to diff View file
M plugins/document/scripts/document/store/actions.js +13 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +47 −1 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.js +6 −1 Go to diff View file
M plugins/document/scripts/document/store/mutations-global.spec.js +11 −1 Go to diff View file
M plugins/document/scripts/document/store/state.js +2 −1 Go to diff View file