You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2026/10/08 13:24:38 UTC

[I] cli: fix the help text of user permissions -g and -s [iggy]

justinmclean opened a new issue, #4458:
URL: https://github.com/apache/iggy/issues/4458

   Split from #4450.
   
   ## Problem
   
   The `-g, --global-permissions` and `-s, --stream-permissions` help of `iggy user permissions` is a copy of the `user create` help (`core/cli/src/args/user.rs:252-303`). It says "Set global permissions for created user", and every example runs `iggy user create`.
   
   ## Proposal
   
   - Change "for created user" to wording that fits an existing user, for example "Set global permissions for the user".
   - Rewrite the examples to use `iggy user permissions`, for example `iggy user permissions guest -g p_msg,s_msg`.
   - Say that the command replaces the full permission set of the user.
   
   ## Acceptance
   
   - `iggy user permissions --help` and `iggy user permissions -h` show the new text and examples.
   - The expected help output in `core/integration/tests/cli/user/test_user_permissions_command.rs` is updated and the test passes.
   - `iggy user create --help` is unchanged.
   


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

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


Re: [I] cli: fix the help text of user permissions -g and -s [iggy]

Posted by "slbotbm (via GitHub)" <gi...@apache.org>.
slbotbm commented on issue #4458:
URL: https://github.com/apache/iggy/issues/4458#issuecomment-6074245640

   @gonappuccino assigned


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

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


Re: [I] cli: fix the help text of user permissions -g and -s [iggy]

Posted by "gonappuccino (via GitHub)" <gi...@apache.org>.
gonappuccino commented on issue #4458:
URL: https://github.com/apache/iggy/issues/4458#issuecomment-6072898729

   Hi, I'd like to work on this. I'll fix the help text and examples and update the test. Could you assign it to me?


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

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


Re: [I] cli: fix the help text of user permissions -g and -s [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio closed issue #4458: cli: fix the help text of user permissions -g and -s
URL: https://github.com/apache/iggy/issues/4458


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

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