yashmayya commented on issue #14266:
URL: https://github.com/apache/pinot/issues/14266#issuecomment-2428811513

   @johannesploetner if you want the user to have access to all the tables, the 
list of tables should be omitted rather than setting `"tables": ["ALL"]` (which 
actually has the semantic of granting the user access to a single table with 
the name of `ALL`). So your user creation request would look like the following 
instead:
   
   ```
   curl -X 'POST' \
    'http://localhost:9000/users' \
    -H 'accept: application/json' \
    -H 'Authorization: YWRtaW46YWRtaW4=' \
    -H 'Content-Type: application/json' \
    -d '{
    "username": "test",
    "password": "test",
    "component": "BROKER",
    "role": "USER",
    "permissions": [
      "READ"
    ]
   }
   '
   ```
   
   There's a small section relevant to this in the docs here - 
https://docs.pinot.apache.org/operators/tutorials/authentication/basic-auth-access-control#broker-authentication-and-authorization.


-- 
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...@pinot.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to