Bug - restriction view when access limited #3943
Labels
Bug
Something isn't working
Business
Items under Business Consideration
Security-related
Issues related to security
Usability
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:
The text was updated successfully, but these errors were encountered: