headchem / StoryGhostPlotter

0 stars 0 forks source link

Restrict access to Admin page in UI #18

Closed headchem closed 2 years ago

headchem commented 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.