Project

General

Profile

Actions

Feature #2228

closed

In create and update, assign/check _kind attributes by inspecting corresponding _uuid.

Added by Tom Clegg about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Story points:
1.0

Description

Including
  • Reject _kind if it doesn't match _uuid.
  • Reject _uuid if _kind is arvados#someType and the referenced object is not visible to the current user.
Acceptance
  • Test cases (e.g., right _kind, wrong _kind, no _kind, nonexistent referent)
  • Remove unnecessary *_kind in tutorial/doc examples
  • Explain in auto generated API docs that *_kind is populated automatically

Subtasks 8 (0 open8 closed)

Task #2298: Reject mismatched _kind/_uuid pairs in before_create/update hooks in ArvadosModelClosedPeter Amstutz03/24/2014Actions
Task #2299: Fill in _type automatically if not provided and corresponding _uuid is providedClosedPeter Amstutz03/24/2014Actions
Task #2304: Reject create/update if _uuid is an arvados object but does not map to a real object that is visible to the current userResolvedPeter Amstutz03/24/2014Actions
Task #2418: Add "is_a" to filtersResolvedPeter Amstutz03/24/2014Actions
Task #2436: Remove _kind columnsResolvedPeter Amstutz03/24/2014Actions
Task #2303: Remove now-unnecessary _kind values in tutorials/docs/examplesResolvedPeter Amstutz03/24/2014Actions
Task #2417: Write testsResolvedPeter Amstutz03/24/2014Actions
Task #2311: Check that owner_uuid exists (even though it has no corresponding _kind)ResolvedPeter Amstutz03/24/2014Actions

Related issues

Blocked by Arvados - Task #2440: Review 2228-check-filter-uuid-columnsResolvedTom Clegg03/26/2014Actions
Actions

Also available in: Atom PDF