Hello. I am making application with database privileges system. The main thing is that user has his own privileges set in MySQL and depending on them he can use system. So i am trying to make inserts to table, in which user has not all column rights, but phalcon returns access violation error. Error reason is that phalcon tries to insert ALL columns, even if some of them are not set in the object. Attributes skip doesnt help here, because user privileges in tables are dynamic. Is there any other solution to save record with partial columns?
P.S. I tried both ways : $newPayment->create() with set properties and $newPayment->create($post).