mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
- Add CasbinService struct with enforcer/db fields and NewCasbinService constructor with GORM adapter initialization - Add Casbin model configuration with request_definition/policy_definition/role_definition/policy_effect/matchers for RBAC - Add initializeDefaultPolicies with admin (full access), operator (manage services/monitoring), and viewer (read-only) role permissions - Add CheckPermission method