MapStore2 icon indicating copy to clipboard operation
MapStore2 copied to clipboard

#9974: Add permission validation to manage catalog service

Open dsuren1 opened this issue 1 year ago • 0 comments

Description

This PR adds configurable options to MetadataExplorer plugin to configure permissible roles and groups via editingAllowedRoles and editingAllowedGroups

Please check if the PR fulfills these requirements

  • [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
  • [x] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x", remove the others)

  • [x] New Feature

Issue

What is the current behavior?

  • #9974

What is the new behavior? Based on the configured roles and groups permissible, the catalog services buttons are hidden/shown. By default editingAllowedRoles is "ADMIN"

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • [ ] Yes, and I documented them in migration notes
  • [x] No

Other useful information

dsuren1 avatar Mar 14 '24 12:03 dsuren1