Check collection in ABAC with policy
resah opened this issue · comments
resah commented
Hi, I am using ABAC with policy and wanted to check, if the user has a necessary claim for a resource property. Something like
p, r.obj.Group in r.sub.Claims, create
p, r.obj.Group in r.sub.Claims && r.sub.Name == r.obj.CreatedBy, delete
Is this possible? Should r.sub.Claims
then be an array, enumerable, list, ...?
casbin-bot commented