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_classispermission - and
nameis in['can_read', 'can_write', 'can_manage']- then
tail_kindmust be eitherarvados#userorarvados#group
- then
Updated by Brett Smith over 11 years ago
- Target version changed from Bug Triage to Arvados Future Sprints
Updated by Ward Vandewege over 4 years ago
- Target version deleted (
Arvados Future Sprints)
Actions