Skip to content

Set Up Casbin RBAC Foundation with Database and Initial Policies #131

@avirajsingh7

Description

@avirajsingh7

The goal of this sub-issue is to establish the foundational components for RBAC, including the database structure, policy loading mechanism, and initial Casbin integration.

Goals:

  • Create the casbin_rule table to store RBAC policies.
  • Implement a utility to load policies from a JSON file into the database.
  • Set up the Casbin enforcer with a basic model and initial policies.
  • Add initial tests to verify basic policy enforcement.
  • Integrate Casbin policy loading into application startup.
  • Define Roles and Permissions

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions