jerqi opened a new pull request, #4704:
URL: https://github.com/apache/gravitino/pull/4704

   
   ### What changes were proposed in this pull request?
   
   The error response of addUser should meet the REST specification
   
   ### Why are the changes needed?
   
   Fix: #4699
   
   ### Does this PR introduce _any_ user-facing change?
   No, access control isn't released.
   
   ### How was this patch tested?
   By hand. If we don't enable authorization, it will return
   ```
   {"code":1006,"type":"UnsupportedOperationException","message":"You should 
set 'gravitino.authorization.enable' to true in the server side 
`gravitino.conf` to enable the authorization of the system, otherwise these 
interfaces can't work."}
   ```
   


-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to