Open zcolah opened 1 month ago
@zcolah Here is my suggested messaging: "Access Denied. Your current role, {role_name}, does not grant you permission to view this app. Please contact the instance owner or administrator about upgrading your role in order to gain access." Then add a button to go back
I do like that you listed the owners and admins.
This ticket is a WIP
Problem
Currently when a user tries to access an app they do not have access to they see the following screen. This screen does not give them enough context on why they cannot see this URL. It just says "This URL does not seem to have anything here." The user may hence believe this URL is invalid/broken which is not the case. It is that their role does not have permissions for the app.
Also this screen does not match our current design language and has a weird black bar at the top which should not be there.
Potential Solution
We should create two screens.
Screen 1: If the URL is valid but the user does not have permission to view the URL due to their role then we should say something along the lines of "You do not have permission to view [X] app. Please ask your admin/owner to update your role to XXX." and list out all of the current admins/owners. See screenshot below.
Screen 2: If the URL is invalid then display a screen that says something along the lines of "This URL is invalid/does not exist. Please check your URL and try again."