Commit Graph

7 Commits

Author SHA1 Message Date
323e131216 changed role permission
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-26 16:34:28 +05:00
d1a6fcaadc ch some
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-04 19:33:26 +05:00
1fd0abbcb2 Bind permissions to roles and scope operator access by branch.
Replace permission_user with permission_role, enforce RBAC on admin routes, and limit operators to their assigned branches.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-24 18:24:43 +05:00
8795ae2195 Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 17:56:07 +05:00
514b9ca5fc Add forgot-password SMS reset, client/staff user lists, and regenerate Swagger.
Fold follow-up migrations into init, expose GET /users/clients and /users/staff, and refresh seed data.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 16:42:47 +05:00
5e3c46da83 Add phone registration with SMS verification and regenerate Swagger docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 14:43:33 +05:00
585ba63bc2 changed arhitecture 2026-07-15 18:08:19 +05:00