You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by "Bin.Li" <bi...@qq.com> on 2016/03/30 03:57:36 UTC

回复: How can I add read only users for kylin???

hello shaofeng.shi,


    Tks a lot!!!!


    This really helps!!


bin.li






------------------ 原始邮件 ------------------
发件人: "ShaoFeng Shi";<sh...@apache.org>;
发送时间: 2016年3月29日(星期二) 中午12:19
收件人: "user"<us...@kylin.apache.org>; 

主题: Re: How can I add read only users for kylin???



there is already a pre-defined read-only account: "ANALYST", pwd is the same as user name. It's role is "ROLE_ANALYST", who only can run queries. The cube owner/admin need grant the acess to this account at the cube level.

To add more user, find the "authenticationManager" part in kylinSecurity.xml, then add there. The password need be encrypted with "BCrypt" method.


The best solution is integrating Kylin with a LDAP directory, using LDAP groups to manage the roles. See https://kylin.apache.org/docs/howto/howto_ldap_and_sso.html



2016-03-28 16:32 GMT+08:00 Bin.Li <bi...@qq.com>:
hello,


     I want to add read only users for kylin, but I cannot find an entry.


     Many tks!!


bin.li





-- 
Best regards,

Shaofeng Shi