Bug #12994

Can't create user group with the same name as a top level project

Added by Tom Morris almost 4 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

I tried to create a group called "Veritas" on cluster dhhck and got this error:

#<PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_groups_on_owner_uuid_and_name" DETAIL: Key (owner_uuid, name)=(dhhck-tpzed-hnryj9s28lk3pdk, Veritas) already exists. >

I suspect it is because I have a top-level project called "Veritas". These should occupy different name spaces.


Related issues

Related to Arvados - Bug #16007: Permission graph update is slow with large numbers of groupsResolved05/26/2020

History

#1 Updated by Tom Clegg 8 months ago

  • Related to Bug #16007: Permission graph update is slow with large numbers of groups added

#2 Updated by Tom Clegg 8 months ago

  • Target version deleted (Arvados Future Sprints)
  • Status changed from New to Resolved

Fixed by #16007: it is no longer possible for a "role" group and a "project" group to have the same owner_uuid.

Also available in: Atom PDF