在OpenShift中列出特定用户的许可
我想知道如何列出所有权限属于特定的用户/组。
我正在使用OC描述clusterrolebinding | grep< user>
,但我认为这是不正确的。
I would like to know how to list all the permission belongs to a specific user/ group.
I am using oc describe clusterrolebinding | grep <user>
and but I don't think that is correct.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您可以检查用户或组的权限。
用于为特定用户列出的
的列表用户
特定操作/资源
列出特定用户的所有权限的特定
操作/资源
前任。:
Yes you can check permissions for users or groups.
For listing users
For listing groups
For specific action/resource for a specific user
To list all permission for a specific user
Same for a groups
Ex.:
OpenShift CLI具有
如果要检查某个用户是否可以执行某个操作,则可以使用以下命令:
The OpenShift CLI has some commands that you can use to get your own permissions in OpenShift:
If you want to check if a certain user can perform a certain operation, you can use the following command: