Hi Keto team, I’m currently looking into whether I...
# talk-keto
b
Hi Keto team, I’m currently looking into whether I can implement a ABAC mechanism using Keto.
Copy code
- As an example, would it be possible to implement a rule in Keto which restricts a user from accessing a resource if his/her age is more than 20 years. 
- Or let a user access a resource between 9am and 5pm on a particular day.
I’m trying to understand if the following sort of a policy in the Open Policy Agent docs (https://www.openpolicyagent.org/docs/latest/comparison-to-other-systems/) can be implemented in Keto. Or am I trying to compare apples and oranges?! 😅 I also came across this issue (https://github.com/ory/keto/issues/319) in the Keto repo which talks about defining ABAC tuples. Can that be used to address the scenario I’ve mentioned? Then again found this issue (https://github.com/ory/keto/issues/318) which talks about an integration of Keto with other systems like OPA. If possible, could I please get some more info on how this integration will work? Really appreciate your response on this and thank you for your time. Regards, Viduranga.
s
all of the referenced issues are just discussions, it is not implemented right now
but if you have ideas how it could work, we appreciate any input as that will move our implementation efforts forwared