Actions
Bug #4118
closed[API] Link model validation allows only Users and Groups to get can_read, can_write, can_manage
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
ispermission
- and
name
is in['can_read', 'can_write', 'can_manage']
- then
tail_kind
must be eitherarvados#user
orarvados#group
- then
Updated by Brett Smith over 9 years ago
- Target version changed from Bug Triage to Arvados Future Sprints
Updated by Ward Vandewege almost 3 years ago
- Target version deleted (
Arvados Future Sprints)
Actions