danielhumanmod commented on issue #316:
URL: https://github.com/apache/polaris/issues/316#issuecomment-2415798722

   And I have a question about the rule for adding API endpoints: do we mainly 
based on the access control privileges? 
   
   For example: 
   - if a user with `NAMESPACE_LIST` privilege, add these into endpoints
     - `GET /v1/{prefix}/namespaces` 
     - `GET /v1/{prefix}/namespaces/{namespace}`
     - `GET /v1/{prefix}/namespaces/{namespace}/tables`
     - `GET /v1/{prefix}/namespaces/{namespace}/tables/{table}`
   - if a user with `NAMESPACE_CREATE`, add this into endpoints
      - `POST /v1/{prefix}/namespaces`
   - if a user with `NAMESPACE_DROP `, add this into endpoints
     -  `DELETE /v1/{prefix}/namespaces'
   


-- 
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