Day 8
TL;DR: Yesterday I took a break. Today I’m back – and permissions are under control :)
Spent the day designing a fine-grained permission model.
I now support 96 distinct permissions across 8 modules, 4 CRUD operations, and 3 scopes: self, group, global.
Three system roles bind these into meaningful sets:
admin: full global access (32 permissions)
supervisor: read self + full group scope (32)
employee: read/update self only (16)
That's 80 role-permission bindings total. Uff.
https://write.as/bmariusz/designing-a-scalable-permission-model
#sql #Microservices #monorepo #rbac #codingdays #programming #accessManagement