You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Mohammad Arshad (Jira)" <ji...@apache.org> on 2020/10/27 04:27:00 UTC

[jira] [Commented] (ZOOKEEPER-3969) Add whoami API and Cli command

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221135#comment-17221135 ] 

Mohammad Arshad commented on ZOOKEEPER-3969:
--------------------------------------------

Thanks [~symat] for reviewing and merging the PR.
Thanks [~eolivelli], [~ztzg] for reviewing the PR

> Add whoami  API and Cli command
> -------------------------------
>
>                 Key: ZOOKEEPER-3969
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3969
>             Project: ZooKeeper
>          Issue Type: New Feature
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.7.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> When connected to Zookeeper through CLI, many times there is need to know who is the current user. This is helpful when finding ACL related problems. Finding who is current user is not easy, have to check many configuration both at client and at server.
> Personally I run below three commands to know the current user
> {code:java}
> create /a
> setAcl /a auth::cdrwa
> getAcl /a
> {code}
> Given all the above facts, I think adding whoami command will be good add-on into the zookeeper command list.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)