Re:Aserto: Developer API for permissions and RBAC
by sparsely on Wednesday February 16, 2022 @11:06AM
(#30361763)
This looks so cool. I've always wanted something like this, especially being able to write the policies in Rego. I can't work out if it supports delegation though, i.e. service A temporarily allows service B to access a resource which normally only A has access to.
[ Parent
| on HN ]
Re:Aserto: Developer API for permissions and RBAC
by viovanov on Wednesday February 16, 2022 @11:11AM
(#30361824)
If the caller can authenticate with the services, I think you can write some rego that does something like this. I'm interested in what the flow looks like. Does the caller talk to A first to initiate this delegation?
Re:Aserto: Developer API for permissions and RBAC
by gertd on Wednesday February 16, 2022 @11:12AM
(#30361840)
You can create rules which take in to account that there is a temporary grant, you do need to account for that somewhere in the form of accessible state. This could be achieved using the tenant level resource state, which is immediately updated and can be referenced from the rego rule.