You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Zhixiong Chen (JIRA)" <ji...@apache.org> on 2018/01/30 08:22:00 UTC
[jira] [Commented] (KYLIN-3199) The login dialog should be closed
when ldap user with no permission login correctly
[ https://issues.apache.org/jira/browse/KYLIN-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344669#comment-16344669 ]
Zhixiong Chen commented on KYLIN-3199:
--------------------------------------
Hi,[~xingpeng1]
I find the root cause is that 'roles[authority.authority]' is null or undifine.
So I think this patch isn't a good solution.
Could you find what is 'curUser.userDetails.authorities' and why 'roles[authority.authority]' is undifine ?
> The login dialog should be closed when ldap user with no permission login correctly
> -----------------------------------------------------------------------------------
>
> Key: KYLIN-3199
> URL: https://issues.apache.org/jira/browse/KYLIN-3199
> Project: Kylin
> Issue Type: Bug
> Components: Web
> Affects Versions: v2.3.0
> Reporter: Peng Xing
> Assignee: Peng Xing
> Priority: Minor
> Labels: patch
> Attachments: 0001-KYLIN-3199-The-login-dialog-should-be-closed-when-ld.patch, ldap_user_login.png
>
>
> 1. Open ldap authentication, but I do not give the admin permission to group 'xpGroup';
> 2. Create a ldap user 'xp', who belongs to group 'xpGroup', so this user has none permission.
> 3. When user 'xp' login in, the above bar has showed and been enabled, but the login dialog still show.
> 4. Then you can click any button on above bar.
> Please refer to 'ldap_user_login.png'
> I think the login dialog should be closed when you login in correctly, and redirect to the 'Model' page, but this user has no permission.
> I have modified this issue, please review the patch, thanks!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)