Project

General

Profile

Actions

Bug #4118

closed

[API] Link model validation allows only Users and Groups to get can_read, can_write, can_manage

Added by Tim Pierce over 9 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
0.5

Description

The permission link types can_read, can_write and can_manage are only meaningful when applied to Users and Groups. The Link model should include a validation that enforces:
  • If link_class is permission
  • and name is in ['can_read', 'can_write', 'can_manage']
    • then tail_kind must be either arvados#user or arvados#group
Actions #1

Updated by Brett Smith over 9 years ago

  • Target version changed from Bug Triage to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #3

Updated by Peter Amstutz almost 2 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF