-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grant implicit Manager access to Adminstrators #440
Comments
@asmecher when a press is created, admin gets the Press Manager role/group, s. Do you maybe think that admin should also get the other managerial roles/groups i.e. Press Editor and Production Editor? |
I'm nervous about making assumptions about roles and user groups, because these can be customized and if there are several suitable roles we'll have to pick one. If we made Manager access implicit for Admins, we would be able to remove the current user group assignment. That would decrease ambiguity but would probably lead users to continue operating as Administrator when they actually did want to be a Manager (e.g. meaning that they would be able to self-assign in the participants grid). So I'd suggest we remove the current automatic role assignment, and consider leading the user through self-assigning roles or user groups as part of the setup wizard. |
Hi @asmecher, 100 years later... :-) I do understand to remove the automatically assignment of a journal/press manager role to the admin user. But, where and how to allow/enable the role self-assignment for the admin? At the end of the settings wizard there is the users management page. Should there be just an info for the admin, that he/she can edit his/her user and assign himself/herself further roles? Or should there be, for example, one more tab "User Roles" where he/she would do that? Or something/somehow else? THANKS!!! |
I suggest leaving the automatic assignment as it currently stands, for informational reasons (normally it's the way people want things). But we also need to adjust the policy set so that Site Administrators implicitly have access to anything the Editor does, without needing a role assignment. That'll be valuable e.g. for institutional hosts to explore the installation, without needing to assign a role that might end up in an informational spot by accident. |
Hmmm... I am not sure if I understand it correctly :-\ |
For most installations, it's OK for the admin to be assigned as a manager. That's currently working well. However -- in cases like our own hosting operations, we'll want to have a site admin role as well, but not to require a manager role to be explicitly assigned. For example, consider two site admin accounts: "clientadmin" and "hostadmin" -- one that the client uses to create/delete journals etc., which has both site admin and manager roles (the current behavior). The hostadmin user would ONLY have a site admin assignment, and would be used by the host provider to provide tech support. This second account would not have manager role assignments, but should be able to access everything anyway. |
Aaaaaaaaaa... I was thinking only on one admin. So would the solution be to consider the admin role similar the manager role is considered in those access and workflow stages policies? |
Hmmm... I think I am a little bit lost with this problem :-( |
Maybe we could consider some other approaches that would suit hosting providers... The "log in as" feature comes to mind. That would permit a Site Admin to easily get into press/journal content without needing to have a Manager role. Could you double-check that Site Admins always have access to that feature? I don't recall OTOH. |
Deferring to OJS 3.0. |
@asmecher, I see the issue is deferred, but just to write what I've figured out: if an user is only admin and not also manager, the user does not have access to the "log in as" feature. It also doesn't have access to the "Settings wizard" feature in the presses grid. Thus, maybe to have "User Management" feature also somewhere else (e.g. instead of "Setting wizard" feature), granted for the admin role, for this case? |
Yes, I think that's a perfect solution. |
@asmecher, one more question: I see that in the new version there is extra "Users & Roles" menu item for journal managers in the left sidebar navigation. Should I thus enable this menu item to appear also for the users having just admin (and not also journal manager) roles, or would it be better to add "Users" row action to the admin context grid (Administration > Hosted Journals)? |
Hmm, I think it would probably make sense to turn the Administration menu into a container for a couple of sub-elements:
...with the inner three presented as tabs in a tabset, for consistency with the manager's interface. However, I'm not sure it'll be easy to give the Administrator one of the features they require in the Users area, which is the ability to grant roles to users. That interface is currently designed to operate within a particular context. |
Hmmm... Yes, maybe it would be then better to have it as a row action for each journal listed in the context grid (hosted journals)? |
Hmmm... I've just seen that administration page is always in a context, thus eventually the Users tab could work (and be for that context only). However, because all the journals, are listed in the context grid, maybe it is good to have the journal/context functions there -- they are meant to be just for a journal/context. |
@asmecher, I've also just realized, that the whole users grid is designed to work in a context, thus a new users grid would be needed if we want to enable it to function without a context: listing all users from each context, with a possibility to filter by a context, and considering all roles from each context (because each context could also have defined different roles). |
@asmecher, this is because the whole Users&Roles management is currently context specific. S. this comment above: #440 (comment). If we would like to have it context insensitive a new grids / Users&Roles management functionality should be implemented... It seems to be what we want, right? |
Yes, having those tools behave in a context-insensitive manner would be best. Another option (though not as good IMO) would be to add a row action on the "Hosted Journals" grid entries allowing the admin to get into a journal-specific admin area -- but I think that would be unnecessarily confusing. |
PR: |
@asmecher, there was already the action Administration > Hosted Journals > Settings wizard > Users. It just needed the permission for the admin user. Thus the PR above can however be merged, I think. Right? |
If creating a new |
OK, I would gladly do that -- I am just not sure if I would manage it for 3.1. So maybe we should make a decision if such a grid is needed for 3.1... |
We do need an expedient fix for the 3.1 release -- a ListPanel would be a nice addition, but I suspect it's out of reach for 3.1. |
#440 enable hosted contexts settings wizard for admins
@asmecher and @NateWr, I would have some conceptual i.e. UI questions: what information should the new site wide users grid contain? -- The same columns as now or additionally also journals/contexts the user belongs to? Or maybe to have this information only in the "Edit User" form? |
What's the use case this grid is fulfilling? My comments below are based on the presumption that this grid is catering to a specific need and won't be frequently used.
I'd say mimic the existing users grid. No need to add anything. A list of contexts could get very long on large installations.
Hmm, yeah that could get very messy in installations with lots of journals. Is it necessary? Would it be possible to just exclude this part, and require someone to go to a context-specific user grid to set the roles? Or would that undermine the use-case we're trying to serve? If it can't be excluded, I'd be tempted to just ditch the ListBuilder implementation and instead list each role in each journal, with checkboxes selected for each one assigned. The same could be done with the context-specific form. This might be more intuitive than the whole ListBuilder apparatus. I'll defer to Alec for the others. |
For simplicity reason maybe to leave the user grid columns as they are for now. -- The same grid will be used in journal/press context as well as in the site context. |
@NateWr, thanks! My page was not reloaded when I wrote my last comment, so I first now see your comment, but no conflicts however... :-) |
Going back to use cases:
|
This sounds like the primary problem. What if the site-wide admin nav menu just included a list of every context, with links to Users and Settings for each one? Would that solve the problem or would admins not know which context to find a user in? |
That's pretty much what I was suggesting here, and it's the most expedient fix. Longer term, I think it makes sense to make user management a proper part of the site administration interface, especially because user accounts are site-wide and that design choice would be made more apparent to users this way. |
Ok, yeah, I suppose whatever works for 3.1 is fine. Good to keep in mind for when we get to refactor the user grids into ListPanels. |
Do I understand it correctly, that it would be enough for 3.1 to have an action link in the hosted journals grid? Adapting the current Users Grid to be usable site-wide is more work but would be possible for 3.1 as well. What would you suggest I should do? :-) -- Sorry, I am sometimes so bad in making decisions :-\ |
For now, let's just stick with the new new row action. With more time, this could be adapted to a |
PRs: |
#440 users row action in the admin contexts grid
Merged, thanks! |
A new issue for users ListPanel opened, here everything merged, thus closing... |
...as we did for OJS 2.4. This will help e.g. our hosting environment, where we want to be admins but not show up actively in the system. Otherwise we need to self-register as Managers, which implies editorial presence and will see us notified in situations where it's not appropriate.
The text was updated successfully, but these errors were encountered: