Skip to content

Prevent deleting group used in locations #2903

@jakub-tldr

Description

@jakub-tldr

Currently, we don't allow using empty group list as Allowed groups in Location settings.

Image

However, deleting group that is the only group used in Location bypass this, making location inaccessible to non-admin users.

Possible solution:

  • Show a warning before deletion listing affected locations. If proceeding would leave any location with an empty group list, block and require the user to fix those locations manually first.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Ready to release

Relationships

None yet

Development

No branches or pull requests

Issue actions