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

[SDPAP-8375]granted permissions to approvers to create and edit department/sites #453

Merged

Conversation

yeniatencio
Copy link
Contributor

@yeniatencio yeniatencio commented Nov 27, 2023

Jira

https://digital-vic.atlassian.net/browse/SDPAP-8375
Testing link: https://nginx-php.pr-352.content-reference-sdp-vic-gov-au.sdp4.sdp.vic.gov.au/

Problem/Motivation

ApproverS shouldn’t be able to create/edit any taxonomy terms except Department and Sites, and shouldn’t be able to delete any taxonomy terms

Fix

Remove permissions such as administer taxonomy.
Grant permissions to create and edit terms in department

Related PRs

dpc-sdp/tide_site#144
Grant permission to create and edit sites.

Screenshots

Screenshot 2023-12-06 at 1 53 30 pm

TODO

@yeniatencio yeniatencio changed the title [SDPAP-8375]granted permissions to approvers to create and edit department and si… [SDPAP-8375]granted permissions to approvers to create and edit department/sites Dec 19, 2023
Copy link
Contributor

@krakerag krakerag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it satisfies the AC @yeniatencio - thanks for adding a test. Should we also add a test to ensure they can perform the new term creation/editing?

@yeniatencio yeniatencio merged commit e432bc5 into develop Feb 13, 2024
4 of 6 checks passed
@yeniatencio yeniatencio deleted the feature/SDPAP-8375-approver-restrict-delete-taxonomy branch February 13, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants