mathesar icon indicating copy to clipboard operation
mathesar copied to clipboard

Custom Permissions Reset to Preset Access Levels

Open ghislaineguerin opened this issue 5 months ago • 0 comments

Description

When setting custom permissions that match any of the preset access levels, the UI automatically selects the preset level when the permissions modal is reopened. This behavior can be confusing if the user intended to see their custom permissions displayed, rather than the preset.

image

Expected behavior

If custom permissions are set, even if they match a preset, the UI should display the custom permissions view when reopened, ensuring clarity for users who specifically configured custom settings.

To Reproduce

  • Open the "Database Permissions" modal.
  • Set custom permissions that happen to match one of the preset access levels (e.g., "Create").
  • Save the changes.
  • Reopen the "Database Permissions" modal.
  • The preset access level is shown instead of the custom permissions view.

ghislaineguerin avatar Oct 01 '24 11:10 ghislaineguerin