Dipesh Bajgain
03/01/2023, 12:24 PMprincipal: {
id: "123",
roles: ["Editor"],
policyVersion: "default",
attributes: {
is_verified: user.is_verified,
},
},
Here in my attributes I have is_verified
flag so I want to check if the user is verified then only check any other policy for the user. Because if my user is not verified then I want to block all his access.
It would be really helpful for me if anyone can provide me the solution.Charith (Cerbos)
03/01/2023, 12:36 PMDipesh Bajgain
03/01/2023, 1:03 PM