feat(12.1-02): permissioneditor field in radio or checkbox mode

- type: permissioneditor with mode radio (1, -1) or checkbox (1); the
  controller serves the options per request through
  cabana.PermissionEditorProvider and reads and stores the values
- a save answers 422 for a non-object, an unknown code or a value outside the
  mode's set and 403 for a changed locked code; stored codes that are not
  offered are kept
- record responses carry the stored permissions as an object
- SPA: PermissionEditorField with sections by tab, locked rows and a read-only
  mode for the preview
- README, docs, OpenAPI document, TS types and dist updated
This commit is contained in:
Jakub Zych
2026-10-05 10:44:50 +02:00
parent a1c6bb1ce6
commit f50d9b8f10
38 changed files with 1300 additions and 34 deletions

View File

@@ -28,3 +28,13 @@ people:
password: Password
password_confirmation: Repeat the password
notify: Send a welcome message
permissions: Permissions
tab_permissions: Permissions
permissions:
tab_content: Content
tab_reports: Reports
posts_edit: Edit posts
posts_edit_comment: Change the text of any post.
posts_publish: Publish posts
reports_export: Export reports
misc_beta: Try beta features

View File

@@ -28,3 +28,13 @@ people:
password: Hasło
password_confirmation: Powtórz hasło
notify: Wyślij wiadomość powitalną
permissions: Uprawnienia
tab_permissions: Uprawnienia
permissions:
tab_content: Treści
tab_reports: Raporty
posts_edit: Edycja wpisów
posts_edit_comment: Zmiana treści dowolnego wpisu.
posts_publish: Publikowanie wpisów
reports_export: Eksport raportów
misc_beta: Funkcje beta