api-services-portal icon indicating copy to clipboard operation
api-services-portal copied to clipboard

Can't remove consumers added by using ‘Link Consumer to Namespace’ button

Open sienna-blumstengel-bcgov opened this issue 3 years ago • 1 comments

From NRIDS team:

I noticed in the Portal there is a ‘Link Consumer to Namespace’ button. I didn’t understand what that button does. Side note: I am unable to delete consumers that were ‘linked’ using this button during my testing.

Our reply was: It should be possible to remove the consumers linked this way, and we will log this as a bug to investigate.

Current behaviour:

  • GIVEN I am an API Provider
  • AND I have a namespace
  • AND I have used the ‘Link Consumer to Namespace’ button to link a consumer to the namespace
  • WHEN I view that consumer that was added with the ‘Link Consumer to Namespace’ button
  • THEN I can cannot remove that consumer from the namespace

Expected behaviour:

  • GIVEN I am an API Provider
  • AND I have a namespace
  • AND I have used the ‘Link Consumer to Namespace’ button to link a consumer to the namespace
  • WHEN I view that consumer that was added with the ‘Link Consumer to Namespace’ button
  • THEN I can successfully remove that consumer from the namespace

Further context: we probably don't want to delete the consumer, as they are still linked to other namespaces, but what we do probably have the ability to do is "remove" a consumer that has been linked to a namespace, while preserving their membership to their original namespace.

tl;dr don't affect the other ACL lists

chrsamp avatar Aug 17 '23 18:08 chrsamp