koralium / OPADotNet

Apache License 2.0
10 stars 2 forks source link

Implement RBAC #66

Open geffzhang opened 2 years ago

geffzhang commented 2 years ago

How to support Role-based Access Control (RBAC) https://github.com/koralium/OPADotNet/blob/4bea56ed6c2a2ae545f9e1f20757acecc0da2704/netcore/tests/OPADotNet.Embedded.Tests/SyncContextTests.cs#L49

Ulimo commented 2 years ago

Hi,

There is some guides in the OPA site on how to implement RBAC: https://www.openpolicyagent.org/docs/latest/comparison-to-other-systems/#role-based-access-control-rbac

Is that helpful, or would do you think a sample is required to show examples of RBAC?

geffzhang commented 2 years ago

yes,How to use this library to implement rbac , There is one example that is the best

Ulimo commented 2 years ago

There is some work that is planned before there is time to implement the sample, but I will keep this issue to remember that one needs to be created in the future!