在InfuxdB V2中创建用户角色所有者或以后将角色分配给用户

发布于 2025-02-08 07:18:57 字数 125 浏览 3 评论 0原文

我想知道是否有人知道是否有一种使用InfluxDB V2 CLI来创建用户,分配组织并分配角色所有者或以后更改用户的角色。

看来有一个API选项,但在CLI中没有。

同样在UI中,似乎没有办法更改用户的角色。

I was wondering if someone know if there is a way to use the InfluxDB v2 cli to create a user, assign to a organization and assign the role owner or change the role of a user later.

It seems that there is an API option but not at the CLI.

Also in the UI there seems to be no way to change the role of a user.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦在深巷 2025-02-15 07:18:57

这有点棘手,而不是自我解释,但是这里的命令可以完成工作:

influx auth create --all-access -u <userNeedingPermission> -o <theorg>

用户将不标记为所有者,而是在平台上拥有完整的权利。

It is a little bit tricky and not self explaining but this command here does the job:

influx auth create --all-access -u <userNeedingPermission> -o <theorg>

The user will than not be marked as owner but has complete rights on the platform.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文