apache / apache/casbin

[feature] add Casbin's Provider interface

Open
#1,669 0 comments 1 reaction 2 assignees Claimed by @hsluoyz View on GitHub
enhancement
Dominant language
Go
Stars
20.4k
Forks
1.8k
Avg merge
5d 11h
Merged PRs (30d)
2

Description

the provider is the way to provide identity info for Casbin, including users, roles, user-role-mappings, permissions, role-permission-mappings, etc.

it extends the role manager interface, because role manager only handles user-role-mappings, but provider handles all.

a provider can also be viewed as a way to import other auth permissions into Casbin.

the provider implementations can be cloud providers (like AWS, Azure, GCP) or identity vendors (like Okta, Auth0) or auth languages (like XACML)

this issue will first add the Go interface of Provider to Casbin codebase

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.