feat: add admin screens, permissions and navigation

Seven admin controllers in a "Studia BM" navigation group, guarded by
jz.bm.access_courses, jz.bm.access_schedule and jz.bm.access_materials,
with Polish and English labels. Date and time fields are checked by the
models before a save and answered as 422 on the field.
This commit is contained in:
Jakub Zych
2026-10-02 14:26:26 +02:00
parent 1046237771
commit 577fa14d3d
42 changed files with 1234 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
name: jz.bm::lang.sessions.form
form: ~/plugins/jz/bm/models/class_sessions/fields.yaml
modelClass: ClassSession
defaultRedirect: jz/bm/class_sessions
create:
redirect: jz/bm/class_sessions/update/:id
redirectClose: jz/bm/class_sessions
update:
redirect: jz/bm/class_sessions
redirectClose: jz/bm/class_sessions