Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need an 'unchanged' validator for object updates #67

Open
mark-saeon opened this issue Jan 11, 2019 · 0 comments
Open

Need an 'unchanged' validator for object updates #67

mark-saeon opened this issue Jan 11, 2019 · 0 comments
Assignees

Comments

@mark-saeon
Copy link
Collaborator

Currently we use the 'empty' validator to ensure that ids of referenced objects (usually foreign keys) are not changed when updating objects. However, when it comes to authorization - which is not yet implemented - in some cases we will need to include referenced object ids in the update input dict, e.g. for updating workflow annotations on a metadata record, we need the metadata record id (so that we can check that the user has permission for that record) but it must remain unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant