I am maintaining my ACL data(My model's ACL list) in mysql database. It is working fine with what role i mention for the remote methods(property column).
For some models, i have to deny access for all remote methods of a model. For these usecase's, what shall I mention in property column for that model in Table?
Normally in case, if we maintain the ACL of models in its json, and if we need to deny all remote methods access for that specific model, then we just dont need to mention the 'property' value. It will deny access for all remote methods.
Denying all remote methods:
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$unauthenticated",
"permission": "DENY"
}
Denying particular Remote method 'getDistrict':
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$unauthenticated",
"permission": "DENY",
"property": "getDistrict"
}
However, in case of Database table, what i have to mention in property column if i need to deny access to all remote methods of a model ? ('ALL' , or '*' or left blank ?)
Also, Please correct me if i am wrong anywhere.
Thank you