Add "external-admin" user role and functionality
-
Talk to @MoSelim about how to add "external-admin" organizational role to the DB, and ensure the role is settable, by an admin role user, in the Manage Users UI.
-
Check lines 333-338 of App.jsx and apply similar to set
currentUser.external = true
if the user is an external admin -
This type of user needs its own "My Queue" page in DashboardPage.jsx. It should show the same categories as the normal admin "My Queue" page but should ONLY show manuscripts with the status 'xml-qa'. Fastest/easiest way to do this would be to modify line 206 to
if (currentUser.admin || currentUser.external) {
and to modify theadminManuscripts
resolver in the backend to check the user role and return just that status for this kind of user. -
Authsome should already be correctly set so that this user only has access to manuscripts in xml-qa status, but please check.
-
User should already not have access to admin Dashboard or manuscript Activity page, but please check.