is it an expected behavior for createOptionForm to skip the policy ?
Hi all, so i have the following code in one of my resource (attached as image too)
although my policy forbids creating, and it's working (i'm just returning false and i am using strictAuthorization() in my admin panel) as i don't see the create action in my category list resource page as attached.
i am still able to create new records. so i just want to check if this is the expected behavior (so i can implement restriction through $operation) or is this a bug.
i already checked the documentations and didn't see anything mentioned for this case.
thanks in advanced


0 Replies