MonkeyCanCode commented on code in PR #2701: URL: https://github.com/apache/polaris/pull/2701#discussion_r2396539485
########## site/content/in-dev/unreleased/command-line-interface.md: ########## @@ -1214,6 +1217,190 @@ options: polaris profiles update dev ``` +### Policies + +The `policies` command is used to manage policies within Polaris. + +`policies` supports the following subcommands: + +1. attach +2. create +3. delete +4. detach +5. get +6. list +7. update + +#### attach + +The `attach` subcommand is used to create a mapping between a policy and a resource entity. + +``` +input: polaris policies attach --help +options: + attach + Named arguments: + --catalog The name of an existing catalog + --namespace A period-delimited namespace + --attach-target The target to attach the policy to, e.g. 'namespace:ns1' or 'table:ns1.tb1' Review Comment: Oh yeah, that is missed on my end as `table` is not an valid payload but `table-like` is. I was using `table` but later removed it. But forgot to fix it here. Let me fix it along with other comments. -- 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]
