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

Hide edit buttons if user permissions are not sufficient #16

Closed
patrickkaleta opened this issue Oct 21, 2019 · 1 comment
Closed

Hide edit buttons if user permissions are not sufficient #16

patrickkaleta opened this issue Oct 21, 2019 · 1 comment
Assignees
Labels
BB: Scenario Management Scenario Management Building Block BB: UI Integration Platform UI Integration Platform Building Block enhancement New feature or request

Comments

@patrickkaleta
Copy link
Contributor

Group members who are not owners, cannot edit the Study group itself, but only work with the group contents (the GL-steps, report images, ...).

So, in the Study step all edit buttons created with the Display Suite need to be hidden via the CSIS helpers module. For that, all Display suite buttons in question will get an extra class "token-field-check-permissions", for which the helpers module will look for and then based on the write_permissions attribute in the $studyObject, the buttons will be either hidden or not.

@patrickkaleta patrickkaleta added the enhancement New feature or request label Oct 21, 2019
@patrickkaleta patrickkaleta added this to the D1.4 CLARITY CSIS v2 milestone Oct 21, 2019
@patrickkaleta patrickkaleta self-assigned this Oct 21, 2019
@patrickkaleta patrickkaleta added this to Backlog: High Priority in T1.3 Climate Services Co-creation via automation Oct 21, 2019
@patrickkaleta patrickkaleta moved this from Backlog: High Priority to In Progress in T1.3 Climate Services Co-creation Oct 21, 2019
@patrickkaleta
Copy link
Contributor Author

Done! (feature-016)

T1.3 Climate Services Co-creation automation moved this from In Progress to Done Oct 21, 2019
@p-a-s-c-a-l p-a-s-c-a-l added BB: Scenario Management Scenario Management Building Block BB: UI Integration Platform UI Integration Platform Building Block labels Oct 28, 2019
@p-a-s-c-a-l p-a-s-c-a-l added this to To do in T4.3 Scenario Management via automation Oct 28, 2019
@p-a-s-c-a-l p-a-s-c-a-l moved this from To do to Done in T4.3 Scenario Management Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BB: Scenario Management Scenario Management Building Block BB: UI Integration Platform UI Integration Platform Building Block enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants