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:
@@ -220,3 +220,10 @@ messages:
|
||||
update_submit: Save record
|
||||
pivot_submit: Save link details
|
||||
link_submit: Add link
|
||||
permissioneditor:
|
||||
allow: Allow
|
||||
inherit: Inherit
|
||||
deny: Deny
|
||||
locked: You cannot change this permission.
|
||||
empty: No permissions are defined yet.
|
||||
other: Other
|
||||
|
||||
@@ -242,3 +242,10 @@ messages:
|
||||
update_submit: Zapisz rekord
|
||||
pivot_submit: Zapisz szczegóły powiązania
|
||||
link_submit: Dodaj powiązanie
|
||||
permissioneditor:
|
||||
allow: Zezwól
|
||||
inherit: Dziedzicz
|
||||
deny: Odmów
|
||||
locked: Nie możesz zmienić tego uprawnienia.
|
||||
empty: Nie zdefiniowano jeszcze żadnych uprawnień.
|
||||
other: Inne
|
||||
|
||||
Reference in New Issue
Block a user