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

Support additional ABAC scenarios #32

Closed
aaguiarz opened this issue Apr 12, 2023 · 4 comments
Closed

Support additional ABAC scenarios #32

aaguiarz opened this issue Apr 12, 2023 · 4 comments

Comments

@aaguiarz
Copy link
Member

aaguiarz commented Apr 12, 2023

OpenFGA provides support for some basic ABAC scenarios with contextual tuples.

We want to explore additional options, that could be:

  • Specifying conditions when writing a tuple (e.g. this tuple is only valid if condition X)
  • Support storing/referring to resource attributes (e.g. write a resource attribute like "feature:X status = 'in-development'" and refer to it in the model)
  • Support conditional functions in the DSL that can be called from the model
  • Grant access for a specific period of time, e.g. 10 minutes after the permission was granted.
  • Allow implementing entitlements scenarios that restrict based on usage data (e.g. max number of collaborators)
  • IP-based filtering, where the IP ranges can be coded in the DSL

Related conversations:
https://github.com/orgs/openfga/discussions/114

Early POC was demoed here https://youtu.be/sFqk42fJy_E?t=667

@velmohan
Copy link

velmohan commented Sep 12, 2023

This one has some excellent features. I am particularly interested in the features:

  1. support conditional functions in the DSL and
  2. support referring to resource attributes.

This will provide a solution for my problem I discussed in here: https://github.com/orgs/openfga/discussions/206.

@velmohan
Copy link

Is it possible to say roughly when we might expect these features to be released please?

@claraisrael
Copy link

Something I missed during my time using OpenFGA was time-based authorization, it'd be amazing if you could add support for that use-case!

@aaguiarz
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants