feat: add DB migration for permissions table (Closes #35) #77

Merged
shahondin1624 merged 1 commits from feature/issue-35-db-migration-for-permissions-table into main 2026-04-07 12:02:58 +02:00
Owner

Summary

  • Creates mv_permissions table for app-level access control
  • Columns: nc_user_id (unique), level (none/read/stufe/full/admin), allowed_stufen_json, can_see_banking
  • Users without a permission row default to no access

Closes #35

## Summary - Creates `mv_permissions` table for app-level access control - Columns: nc_user_id (unique), level (none/read/stufe/full/admin), allowed_stufen_json, can_see_banking - Users without a permission row default to no access Closes #35
shahondin1624 added 1 commit 2026-04-07 12:02:54 +02:00
Create mv_permissions table with nc_user_id (unique), level (none/read/
stufe/full/admin), allowed_stufen_json for Stufenzugriff, and
can_see_banking flag. Users without a row default to no access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shahondin1624 merged commit 7b26a26647 into main 2026-04-07 12:02:58 +02:00
shahondin1624 deleted branch feature/issue-35-db-migration-for-permissions-table 2026-04-07 12:02:58 +02:00
Sign in to join this conversation.