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

added menu local task alter to restrict edit profile for securefile user #561

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

yeniatencio
Copy link
Contributor

@yeniatencio yeniatencio commented Dec 10, 2024

Jira

https://digital-vic.atlassian.net/browse/SD-460
Testing link in content-vic: https://nginx-php.pr-1755.content-vic.sdp4.sdp.vic.gov.au/

Problem/Motivation

Fix

Hide edit tab user by adding a menu local task alter function in vicgovau_core.module and unset the tab for a Secure File User role.
2.Redirect the link content.vic/user/user_id/edit to content.vic/user/user_id/ in a preprocess_page function.

Related PRs

Screenshots

Screenshot 2024-12-11 at 1 56 13 pm

TODO

Note: I discovered that the "Secure File" user role is missing the necessary permissions. For testing purposes, I manually enabled the toolbar to allow the user to log out. I will be creating a new ticket with all relevant details for further investigation and resolution.

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.

1 participant