mjordan / islandora_workbench_integration

Drupal module containing helpers for Islandora Workbench.
GNU General Public License v2.0
2 stars 4 forks source link

Simplify permissions #24

Open seth-shaw-unlv opened 2 years ago

seth-shaw-unlv commented 2 years ago

While attempting to add Islandora Workbench to an existing site with ratcheted down permissions I discovered that I had to grant the user's role several permissions they didn't previously have, some with security implications. They are listed below with the Permissions page label, the machine name in parentheses, and in some cases, the specific routes they apply to.

mjordan commented 1 year ago

@seth-shaw-unlv do we need to change anything in the module to resolve this or is this just a documentation issue?

mjordan commented 1 year ago

Answering my own question here... maybe this module should provide a custom permission for the routes in islandora_workbench_integration.routing.yml to avoid giving users the high-level "administer site configuration" permission. Also, it is possible to export the config for a role, so we could add a pre-configured role to this module to package up all the required permissions.