-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
I'd like to retrive an array of v2 values based on v0,v1,v3 values, is there a function that I can't find in docs or have I to create a custom Enforcer?
This is my conf:
[request_definition]
r = sub, clt, obj, act
[policy_definition]
p = sub, clt, obj, act
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && ((r.clt == p.clt && r.obj == p.obj) || (r.clt == p.clt && r.obj == "*")) && r.act == p.act
Where sub is my user, clt is the table like (posts), obj is the id of obj in ctl and act is my action like index, edit, create, update, store, restore, destroy.
Can someone help me, pls?
Metadata
Metadata
Assignees
Labels
No labels