简体   繁体   English

hawt.io创建具有特定权限的用户

[英]hawt.io create a user with specific permissions

I've installed Hawt.IO and it's great for what it does, now I just want to know if it's possible to create a new user that isn't an admin, and has specific permissions. 我已经安装了Hawt.IO,它的功能非常强大,现在我只想知道是否可以创建一个不是管理员的具有特定权限的新用户。

For example a user that would only have access to some tabs, or a user that can only view graphs but can't do any editing on the settings etc. 例如,仅具有某些选项卡访问权限的用户,或只能查看图形但不能对设置进行任何编辑的用户等。

Is this possible on hawt.io? 在hawt.io上可能吗?

Thank you in advance :) 先感谢您 :)

Work on this is underway -> https://github.com/hawtio/hawtio/issues/465 正在进行的工作-> https://github.com/hawtio/hawtio/issues/465

At the moment the JMX view visualizes user permissions if the JMX guard mbean from Karaf 3.x is available. 目前,如果来自Karaf 3.x的JMX保护mbean可用,那么JMX视图将可视化用户权限。 So if you install Karaf 3.x and run hawtio on it, the JMX tab will show red/green icons on mbeans and disable operations the user doesn't have privileges to invoke. 因此,如果您安装Karaf 3.x并在其上运行hawtio,则JMX选项卡将在mbeans上显示红色/绿色图标,并禁用用户无权调用的操作。

It will rely on backend support to map the current user's permissions to mbeans, so at boot hawtio will look for specific mbeans it can invoke on to find out those permissions. 它将依靠后端支持将当前用户的权限映射到mbeans,因此在启动时hawtio将查找可以调用的特定mbeans以找出那些权限。 With the JMX guard in place the user won't be able to execute a JMX operation he doesn't have access too. 有了JMX保护器,用户将无法执行他也没有访问权限的JMX操作。 So right now with that in place all of the views (other than JMX attributes/operations) will still show all their controls, however the backend will deny access to invoking operations the user can't invoke. 因此,现在有了该视图,所有视图(JMX属性/操作除外)仍将显示其所有控件,但是后端将拒绝访问用户无法调用的调用操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM