Skip to content

Fix #3316 Style editor role management, Fix #3317 TOCItemSettings doesn't save from alert modal#3318

Merged
allyoucanmap merged 1 commit intogeosolutions-it:c127_geonode_integrationfrom
allyoucanmap:role-style
Nov 8, 2018
Merged

Fix #3316 Style editor role management, Fix #3317 TOCItemSettings doesn't save from alert modal#3318
allyoucanmap merged 1 commit intogeosolutions-it:c127_geonode_integrationfrom
allyoucanmap:role-style

Conversation

@allyoucanmap
Copy link
Copy Markdown
Contributor

@allyoucanmap allyoucanmap commented Nov 7, 2018

Description

Add editingAllowedRoles to define roles with permission

eg:
editingAllowedRoles: ['ADMIN'] only admin can edit
editingAllowedRoles: null all roles can edit

This PR fixes also a bug while saving from modal in TOCItemSettings

Issues

Please check if the PR fulfills these requirements

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

  • Bugfix

What is the current behavior? (You can also link to an open issue here)
only ADMIN can edit in style editor

What is the new behavior?
MapStore can be configured to set roles with edit permission in style editor

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

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 80.836% when pulling f05dea3 on allyoucanmap:role-style into 59e4d21 on geosolutions-it:c127_geonode_integration.

@allyoucanmap allyoucanmap requested a review from kappu72 November 8, 2018 08:26
@allyoucanmap allyoucanmap merged commit 075a795 into geosolutions-it:c127_geonode_integration Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants