[
https://issues.apache.org/jira/browse/KYLIN-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
tianhui closed KYLIN-4575.
--------------------------
Resolution: Fixed
> fix bug of manapulating user fail
> ---------------------------------
>
> Key: KYLIN-4575
> URL: https://issues.apache.org/jira/browse/KYLIN-4575
> Project: Kylin
> Issue Type: Bug
> Reporter: tianhui
> Priority: Major
>
> Because of KYLIN-4240
> ([https://github.com/apache/kylin/pull/958/files#diff-070a9513322d312dc09e5a407fbf677f)],
> when there is more than one profile, 'spring.profiles.active' is not only
> the value of 'kylin.security.profile', but also the value of
> 'kylin.security.additional-profiles'.
> As result, the 'equals' method can not identify multi profile, and return
> BadRequestException to user.
> I think it's more suitable to use KylinConfig replace of System.getProperty()
> to get SecurityProfile , for more general circumstance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)