nnseva / django-access

Django-Access - the application introducing dynamic evaluation-based instance-level (row-level) access rights control for Django
GNU Lesser General Public License v3.0
78 stars 6 forks source link

A new validate check before create or update #12

Open nnseva opened 4 years ago

nnseva commented 4 years ago

Existent checks for create and update doesn't concern to the new attribute values.

It may be important especially for the foreign key values when the only selected person can link the created or updated instance to the object which is visible, but readonly for others.

It is proposed to create a check like verify_appendable() and verify_updateable() with parameters: