Bug #6234


[Workbench] Admins should be able to edit their own user records, and view other users' home projects" from title

Added by Ward Vandewege about 9 years ago. Updated about 9 years ago.

Assigned To:
Radhika Chippada
Target version:
Story points:


Admins need to be able to see their own user page to manage their group memberships, etc.

Right now, going to the usual URL for that renders your home project. This was first filed as #3756. We fixed this by making the user page inaccessible, and hiding the Show button for it from the users listing.

It's now clear we need a better solution. In #3756, Tom suggested implementing a "better way to ensure {"move this project to..." → Home → OK} redirects to projects#show with uuid=current_user.uuid instead of users#show." He noted that "solution is a waste of trouble if we decide to switch to the "special undeletable project" implementation for "Home"," but we still haven't done that, so it seems like it's time to implement the longer solution and undo the Show button hiding hack.

After this change (subject to permission, of course):
  • {workbench}/projects/{user_uuid} will show the home project of the given user
  • {workbench}/groups/{user_uuid} will redirect to /projects/{user_uuid} if necessary/convenient (this might not be necessary any more, but it doesn't seem to break anything either, so it's fine to leave it alone).
  • {workbench}/users/{user_uuid} will show the "edit/manage user" page for the given user

Subtasks 1 (0 open1 closed)

Task #6300: Review branch: 6234-user-edit-selfResolvedRadhika Chippada06/10/2015Actions

Related issues

Related to Arvados - Bug #6274: [API] [Workbench] Home project should be a real object (group with group_class="project"), not current_user.NewActions
Related to Arvados - Bug #3573: [Workbench] When showing a shared project, do not include "Home" in breadcrumbs.ClosedActions
Follows (1 day) Arvados - Bug #3756: [Workbench] As an admin user, clicking 'Show' in the user list on your own user record redirects to a *project* url for the user uuid instead of the *user* url.ResolvedRadhika Chippada01/12/2015Actions

Also available in: Atom PDF