Project

General

Profile

Actions

Bug #16726

closed

other cluster's special users (root and anonymous) can appear in user list

Added by Peter Amstutz over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Story points:
-
Release relationship:
Auto

Description

When using a federation, it's possible to use the anonymous user of one cluster to access another cluster (for example, it does a lookup by PDH across the federation on behalf of the anonymous user). This works but is confusing because it results in two or more "anonymous" users appearing in the user list, belonging to different clusters.

Possible fixes:

  1. Hide the foreign anonymous user from the user list
  2. Notice when the user uuid ends in "-tpzed-anonymouspublic" and associate it with the local anonymous user instead of creating a new account
  3. When making a federated request as the anonymous user, substitute the other cluster's published anonymous user token.

There's a similar issue with the system user (root). System users should probably not federate at all.

There's also more general UX problem of user accounts from different clusters having the same name and appearing in the user list, which is confusing.


Subtasks 1 (0 open1 closed)

Task #16762: Review 16726-anon-fedResolvedPeter Amstutz08/31/2020Actions

Related issues 4 (0 open4 closed)

Related to Arvados - Bug #16683: Trouble sharing with federated usersResolvedPeter Amstutz08/13/2020Actions
Related to Arvados - Bug #16789: missing can_read link from anonymous_user to anonymous_groupRejectedPeter AmstutzActions
Related to Arvados - Feature #16794: API ensures configured Users.AnonymousUserToken is validClosedPeter AmstutzActions
Related to Arvados - Feature #17298: remove the need to run get_anonymous_user_token.rb during installationResolvedActions
Actions

Also available in: Atom PDF