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

Bug - restriction view when access limited #3943

Open
Joshua-Lakusta opened this issue Nov 14, 2024 · 0 comments
Open

Bug - restriction view when access limited #3943

Joshua-Lakusta opened this issue Nov 14, 2024 · 0 comments
Assignees
Labels
Bug Something isn't working Business Items under Business Consideration Security-related Issues related to security Usability

Comments

@Joshua-Lakusta
Copy link
Collaborator

Joshua-Lakusta commented Nov 14, 2024

Describe the Bug
When you view restriction you get trapped and cant close the view when you do not have access to update the restriction.

Expected Behaviour
The 'Close' button is not disabled for all users. Users without restriction edit access should be able to view it, not edit it and then close the modal without refreshing.

Actual Behaviour
The 'Close' button is disabled for users without the restriction edit access. They need to refresh the page in order to get out of the modal.

** Steps To Reproduce**
Steps to reproduce the behaviour:

  1. Go to a student with restrictions as a ministry user with no restriction edit access.
  2. Click on 'View' for any restriction
  3. Un-closable modal reached.

image.png

@Joshua-Lakusta Joshua-Lakusta added Bug Something isn't working Security-related Issues related to security Usability labels Nov 14, 2024
@Joshua-Lakusta Joshua-Lakusta self-assigned this Nov 14, 2024
@Joshua-Lakusta Joshua-Lakusta added the Business Items under Business Consideration label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Business Items under Business Consideration Security-related Issues related to security Usability
Projects
None yet
Development

No branches or pull requests

1 participant