You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My collection has an advanced CLP rule that prevents the client from creating a field. And some legacy clients are still sending unused fields that I want to ignore and removed them from the collection.
Even calling req.object.unset('undesiredField') I still receive the CLP error
{
"code": 119,
"error": "Permission denied for action addField on class Invoice."
}
I disable the CLP for this test and the field is not created anyway.
Steps to reproduce
Remove the add field permission at the advanced class level permission from the collection
Issue Description
My collection has an advanced CLP rule that prevents the client from creating a field. And some legacy clients are still sending unused fields that I want to ignore and removed them from the collection.
Even calling
req.object.unset('undesiredField')
I still receive the CLP errorI disable the CLP for this test and the field is not created anyway.
Steps to reproduce
add field
permission at the advanced class level permission from the collectiondesired
as stringbeforeSave
hook:Expected Results
The object is expected to be created without the
undesiredField
Actual Outcome
It returns the error
{ "code": 119, "error": "Permission denied for action addField on class Invoice." }
Environment Setup
Server
Database
The text was updated successfully, but these errors were encountered: