Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'access geo browser' permissions for editors #113

Open
willguv opened this issue Mar 15, 2024 · 4 comments
Open

Add 'access geo browser' permissions for editors #113

willguv opened this issue Mar 15, 2024 · 4 comments
Assignees

Comments

@willguv
Copy link
Member

willguv commented Mar 15, 2024

Reported by @benhillsjones when adding a directory venue to a new Dumfries and Galloway website

He saw the following:

Image

To replicate, on a new install try adding a directory venue page with a geo location

The expected behavior is to be able to add a geo location

This was fixed locally by Rohallion by adding the 'access geo browser' permission to the Editor role

The permission needs to be added for Editor, Author and Contributor roles, as all may be required to add geo items

@andybroomfield
Copy link
Contributor

This was added 021c3af
Though only fairly recently so if I site was installed before November 2023 it won't have it or any geo permissions unless explicitlly set up.

@stephen-cox
Copy link
Member

An update hook to assign this could be possible, but we would need to go through every role checking if the 'access geo_entity_library entity browser pages' had been assigned and, if not, add it to the author and editor roles.

@willguv
Copy link
Member Author

willguv commented Apr 11, 2024

We've just made the same change locally in Essex and it resolved the issue. Would be good to address soon as I imagine every council is having to diagnose and fix this issue - it's wasted effort

@stephen-cox

@MariosORION
Copy link
Contributor

PR #121 ready for review:

  • Adding the 'create geo' and 'access geo_entity_library entity browser pages' permissions to the default set for the Contributor role too, in .localgov_geo.module.
  • Update hook in localgov_geo.install: Grant 'create geo' and 'access geo_entity_library entity browser pages' permissions to Editor, Author and Contributor roles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

4 participants