Skip to content

Listing all accounts/scope while at VO "def" #86

@patrick-austin

Description

@patrick-austin

Motivation

Currently when listing accounts/scopes while at VO def (i.e. when super_root) we return all accounts/scopes irrespective of VO. Normally we'd filter using .like('%@tst') at the core, but as we don't append the VO when at def, the string used is just '%' which returns all accounts.

In itself this isn't a bad thing, but because we strip the VO from the end of account names at the API level the list returned is somewhat confusing, for example it can have multiple root accounts and there's no indication of their respective VO.

There are other places we use .like() that may exhibit similar behaviour.

Modification

  1. Do nothing, as this should only affect super_root who should/might not be running these kinds of commands on def anyway.

  2. Limit the results to def (i.e. we should only see super_root in the list of accounts.

  3. Include the VO in the returned list (for this set of circumstances only) so that super_root can use list functions to monitor across all VOs meaningfully.

Discuss at the next M-VO meeting? Course of action may depend on how we/users plan on using the M-VO setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions