-
Notifications
You must be signed in to change notification settings - Fork 47
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
Manager of an Admin Set does not see Admin Set menu on dashboard #1110
Comments
Related to samvera/hyrax#853 |
When this user gets to the Admin Set menu, I assume they should:
What say you, @hannahfrost? |
@mjgiarlo I say yes to all points listed above, thank you very much. |
This begs the question of the group/role definitions and how they should differ for |
@darrenleeweber I believe we want to display this menu to any user who is an admin or who has the |
Manage role is reflected in |
We've replicated this bug in hyrax (without hyku). |
Darren, I think we want to roughly use this: I just grabbed the code Mike highlighted and added a function to get a list of just the admin sets a user can manage. So we want to:
Thoughts? |
So I have code up in the bugfix/1110 branch that fixes it, but the problem is that to hack it in I need to grant global access to the dashboard, because the dashboard doesn't appear to be granular enough I can give folks with manager rights access to just the admin sets views. Am I missing something with the admin namespace? Or is dashboard all or nothing (comments in the code seem to suggest all or nothing). If that's the case when we have a larger ticket about breaking up the dashboard in addition to this ticket and talk about how we'll do it. |
@carrickr prior to this ticket, there was no differences in the dashboard for "admin set managers" than a regular user. In order to resolve this ticket this must be changed. |
Looking through this we may not need additional ability.rb tests, in that there seem to be tests for the abilities https://github.com/projecthydra-labs/hyrax/blob/master/spec/abilities/ability_spec.rb#L119-L131 we just need view tests |
@carrickr I think you should add a test for |
RE There is a short-term goal to “better align the AdminSet Participants with the Roles defined for a Workflow”. What does this mean? While coding the implementation details for the ability of a In short, we may be confusing a rails-cancan permission/ability based on user role/group data with something different, an FCrepo object "participant". For example, see samvera/hyrax@9e829b8 |
Expected behavior
I am a Manager of the default admin set. I was granted this role by the Repository Admin.
I should see the Admin Set menu under "Repository Contents" on the dashboard when I am logged in, so that I can help manage the Admin Set.
Actual behavior
When I am logged in and looking at the admin dashboard, I don't see the Admin Set menu under "Repository Contents", so I can't help manage the admin set.
The text was updated successfully, but these errors were encountered: