Closed lowellrex closed 5 years ago
@lowellrex - I connected with @allyceh and @sneha-pai on this and updated the AC above. would love your input on if you think using the Switch Views dropdown will work for this for now.
Sure! I think using the "Switch Views" dropdown will definitely work for now
couple questions:
/organizations/:organization/users
) and [somewhere else? anywhere else where the switcher lives?]I can answer your second question: Yes, we should put it everywhere the switcher lives. I think this is individual queues, organization queues, and the user management page.
how do we tell if someone is a team admin?
The OrganizationsUser
table has an admin
field that tells us if somebody is an admin of a team. We can use the User.administered_teams
method when we build the list of selectable_organizations
to determine the URL we should be pointing to (though we will probably have to move the serialized object we build in the template file into the user model).
Exclude JudgeTeam
admins from being able to visit the team admin page until @laurjpeterson can confirm that judges should be allowed to determine who is on their team.
discussed this approach with @sneha-pai — we thought it'd make more sense (and be much simpler to implement) if we put this link in the user's top menu dropdown, here:
Reasons:
@laurjpeterson — can you approve these changes? I'm happy to work with you on a new set of AC.
@joeyyang this sounds good to me! Then, users can navigate back to their queue by clicking the Caseflow logo. I think we'll want to email about this change when it is deployed so they know the behavior.
In other but related news - @marvokdolor-gov got approval from DVCs today that judges can manage the attorneys on their team, so they can navigate to the user admin page. We were briefly told judges wouldn't be allowed to do this last week, and I alerted @tomas-nava and @lowellrex to it, but I'm glad to say that restricting judges from navigating is not, in fact, a requirement.
I updated AC to reflect joey's comment and the recent news about judges.
There is currently no way for admins of the various teams at the Board (and VSOs) to navigate to the user management page. This ticket exists to do the engineering work required to add that link/dropdown/whatever other method we decide on to navigate to the user management page.
Current look at the user management page:
Acceptance criteria
/organizations/vlj-support-staff/users
)