Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to rego as policy decision engine #48

Merged
merged 73 commits into from
Dec 7, 2018
Merged

Switch to rego as policy decision engine #48

merged 73 commits into from
Dec 7, 2018

Conversation

aeneasr
Copy link
Member

@aeneasr aeneasr commented Sep 23, 2018

This is an experimental PR which aims to deprecate the ORY Ladon SDK in favor of Rego, the language behind the Open Policy Agent.

This PR is the an attempt at improving the ORY Keto functionality and making it possible to add more access control mechanisms such as ACL, RBAC, ABAC, ... to the mix without writing a lot of code.

This PR will break some backwards compatibility regarding API design, but it will keep backwards compatibility with ORY Ladon's Access Control Policies!

  • Implement access control policies using rego
  • Implement adapters for rego
    • Storage
      • In-Memory
      • SQL
    • Reporters
  • Implement API handlers for CRUD'ing data (e.g. policies, roles) and making requests like the warden

I think it makes sense to deprecate the authentication handlers as well. They have a lot of configuration overhead and might be added at a later stage as part of the rego logic. Please complain if you rely on them and need them in future releases.

This is related to #47

arekkas added 2 commits September 20, 2018 00:08
Signed-off-by: arekkas <[email protected]>
Signed-off-by: arekkas <[email protected]>
arekkas and others added 3 commits September 23, 2018 23:43
@MOZGIII
Copy link

MOZGIII commented Oct 2, 2018

+1,909 −29,558 👍

arekkas and others added 22 commits October 25, 2018 21:41
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: arekkas <[email protected]>
u
Signed-off-by: aeneasr <[email protected]>
# Conflicts:
#	.circleci/config.yml
#	UPGRADE.md
#	cmd/client/handler_policy.go
#	cmd/client/handler_role.go
#	cmd/root_test.go
u
Signed-off-by: aeneasr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants