herd icon indicating copy to clipboard operation
herd copied to clipboard

Manage Lists of valid items for global Attributes

Open nateiam opened this issue 7 years ago • 0 comments

As a Herd Publisher I want to manage Lists of valid items so I can associate a List with an Attribute Definition to later enforce Attribute Values come from this List

This story is to manage the Lists that can be associated with an Attribute Defnition. The story does not manage the items in a list nor does it enforce anything, it simply allows users to CRUD lists.

Acceptance Criteria

  • New AttributeValueList POST endpoint takes Namespace, List Name and creates list
    • Namespace + List Name is they key for an AttributeValue list and must be unique. Endpoint returns 409 if attempt to POST a duplicate.
  • New AttributeValueLists GET endpoint returns all Lists (filtered by Namespace permission)
  • New AttributeValueList GET returns Namespace, List Name
  • New AttributeValueList DELETE removes List
  • Attempt to delete list that contains values results in 40x with appropriate message
  • Namespace-level authorization requirements are: GET endpoints need READ – POST, DELETE endpoints need WRITE

nateiam avatar May 13 '17 20:05 nateiam