openflagr / flagr-archived

[Archived] - Merged and move to https://github.com/openflagr/flagr
https://openflagr.github.io/flagr
Apache License 2.0
33 stars 7 forks source link

Casbin implementation for RBAC #67

Closed Henelik closed 2 years ago

Henelik commented 2 years ago

Description

Implemented Casbin enforcement middleware and policy and group APIs.

Casbin creates a table in the Flagr database to store policies, and will use JWT claims to identify users/groups.

Motivation and Context

How Has This Been Tested?

Created new unit tests for the enforcement middleware, and verified API and enforcement behavior via QA testing.

Types of changes

Checklist:

github-actions[bot] commented 2 years ago

Stale pull request message