Skip to content

Bug: Error accessing namespace after name change #2237

@LuizFNJ

Description

@LuizFNJ

Background Information

Image Image

Steps to Reproduce

  1. Go to the Namespaces management page.
  2. Select an existing Namespace and edit its name.
  3. Save the changes.
  4. Try to access the edited Namespace

How

When a Namespace name is updated, the system is failing to synchronize this change within the roles field of the users collection. The router attempts to navigate using the updated name (or expected new slug), but the user's permissions still reference the old slug.

Expected Behavior

Upon renaming a Namespace, the slug stored in the roles array within the users collection should be updated to match the new name. This ensures that the router can validate permissions and grant access to the Namespace using the correct, updated URL.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions