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

PIMS-1714: Hide edit/delete buttons for Auditor Role #2429

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

LawrenceLau2020
Copy link
Collaborator

🎯 Summary

PIMS-1714:

Hiding the delete and edit buttons on the property details and the project details pages when the user has the "Auditor" role.

🔰 Checklist

  • I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation where required.
  • I have tested my changes to the best of my ability.
  • My changes generate no new warnings.

Copy link

github-actions bot commented Jun 3, 2024

🚀 Deployment Information

The React APP Image has been built with the tag: 2429. Please make sure to utilize this specific tag when promoting these changes to the TEST and PROD environments during the APP deployment. For more updates please monitor Image Tags Page on Wiki.

Copy link
Collaborator

@dbarkowsky dbarkowsky left a comment

Choose a reason for hiding this comment

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

This works for me. After setting my role to Auditor, I cannot see the edit/delete options.

@LawrenceLau2020 LawrenceLau2020 merged commit bb51a9c into main Jun 3, 2024
6 checks passed
@LawrenceLau2020 LawrenceLau2020 deleted the PIMS-1714 branch June 3, 2024 21:34
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.

2 participants