Closed headchem closed 2 years ago
Currently, we restrict access to the admin endpoint, but it still is available to all users via the UI. Add a check for current user being both logged in and in the admin role, otherwise display message in UI.
Currently, we restrict access to the admin endpoint, but it still is available to all users via the UI. Add a check for current user being both logged in and in the admin role, otherwise display message in UI.