Closed yaobo-lab closed 3 years ago
@Sagilio
The reason for this problem is that the length of the array of each policy in the model is not 3. Can you confirm the content of this object?
e.GetModel().Model["p"]["p"].Policy[0]
@yaobo-lab you should set values of V3, V4 and V5 to null
in DB.
@yaobo-lab you should set values of V3, V4 and V5 to
null
in DB.
thx a lot!
i use EFCore-Adapter
mysql table record is
acl_model.conf:
when is use
_enforcer.EnforceAsync(uid, api, httpMethod);
it throw a err:
Invalid policy size: expected 3, got 6.