You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/06/27 14:09:45 UTC

[GitHub] mitchell852 commented on issue #2474: The tenant api needs to implement tenancy

mitchell852 commented on issue #2474: The tenant api needs to implement tenancy
URL: https://github.com/apache/trafficcontrol/issues/2474#issuecomment-400685184
 
 
   Just to add a bit of clarity
   
   GET /api/tenants should return only tenants in your tenant tree
   POST /api/tenants should check the value of the parent_id to ensure it's in your tenant tree
   PUT /api/tenants/:id should make sure you're only updating a tenant in your tenant tree AND check the value of the parent_id to ensure it's in your tenant tree
   DELETE /api/tenants/:id should make sure you're only deleting a tenant in your tenant tree

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services