Skip to content

fix: preserve registry permissions for admin groups#29

Open
3Blin wants to merge 1 commit into
flowcase:mainfrom
3Blin:fix/admin-registry-permissions
Open

fix: preserve registry permissions for admin groups#29
3Blin wants to merge 1 commit into
flowcase:mainfrom
3Blin:fix/admin-registry-permissions

Conversation

@3Blin

@3Blin 3Blin commented Jun 17, 2026

Copy link
Copy Markdown

Summary

  • expose registry permissions in the group edit modal
  • include perm_view_registry and perm_edit_registry when saving groups
  • keep the built-in protected Admin group fully privileged on save to prevent accidental admin/registry lockout

Why

The backend already supports registry permissions, but the group edit UI did not expose/send them. Saving groups could therefore drop registry access and hide the registry catalog from admins. The backend guard prevents the protected Admin group from losing critical permissions even if an older UI or direct API call omits fields.

Verification

  • PYTHONDONTWRITEBYTECODE=1 python3 -m py_compile routes/admin.py
  • checked static/js/dashboard/admin.js contains registry permission controls and payload fields

Expose registry permissions in the group edit modal and include them when saving groups. Also keep the built-in protected Admin group fully privileged on save to prevent accidental admin or registry lockout.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant