ocket8888 opened a new issue, #7247:
URL: https://github.com/apache/trafficcontrol/issues/7247

   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   When the client creates or updates a Role, they may omit the `permissions` 
property, or explicitly set it to `null`. This is implicitly the same as an 
empty collection, as further GET requests will reveal. However, in those cases, 
the immediate response to the PUT or POST request in question will show 
`permissions` as `null`.
   
   ## Expected behavior:
   Representations should be consistent, an empty collection is properly 
represented as an empty collection, not `null`.
   
   ## Steps to reproduce:
   1. Create or Update a Role, omitting the `permissions` property thereof in 
the request payload.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to