stable

Clone or download

Read-only

feat: Remove create/delete buttons for readers

Readers are not allowed to create or delete stuff in Baseline service. So we should not display such actions buttons (else they are tempted to create a new baseline and get an error). Part of story #26359: define dedicated baseline administrators & readers Change-Id: I49a6e02d8250faeabff8d8e5c0b24ae76c3a8945

Modified Files

Name
M plugins/baseline/include/ServiceController.php +9 −2 Go to diff View file
M plugins/baseline/scripts/baseline/components/IndexPage.test.js +1 −0 Go to diff View file
M plugins/baseline/scripts/baseline/components/IndexPage.vue +4 −0 Go to diff View file
M plugins/baseline/scripts/baseline/components/baselines-list/BaselineSkeleton.vue +7 −1 Go to diff View file
M plugins/baseline/scripts/baseline/components/baselines-list/DeleteBaselineButton.test.js +1 −0 Go to diff View file
M plugins/baseline/scripts/baseline/components/baselines-list/DeleteBaselineButton.vue +8 −1 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparisons-list/ComparisonSkeleton.vue +7 −1 Go to diff View file
M plugins/baseline/scripts/baseline/components/comparisons-list/DeleteComparisonButton.vue +7 −2 Go to diff View file
M plugins/baseline/scripts/baseline/index.js +3 −0 Go to diff View file
M plugins/baseline/templates/project-service-index.mustache +1 −0 Go to diff View file