[
https://issues.apache.org/jira/browse/AMBARI-23538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16433682#comment-16433682
]
Sandor Molnar commented on AMBARI-23538:
----------------------------------------
The reason is that due to a recent commit we escape the '/' character in the
request body; since we use Users/XXX as keys they became Users\U002FXXX which
then does not match with the allowed property IDs in UserResourceProvider.
Found the offending commit in https://github.com/apache/ambari/pull/886
Let me change the check to allow the escaped IDs too.
> Not able to add a user in ambari
> --------------------------------
>
> Key: AMBARI-23538
> URL: https://issues.apache.org/jira/browse/AMBARI-23538
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Blocker
> Fix For: 2.7.0
>
>
> 1) login to ambari ui with admin:admin
> 2) select ADMIN -> Manage Ambari
> 3) click on users section from the left pane
> 4) click on Add users button
> 5) fill in required details:
> username: cloudbreak
> password: admin
> Add Roles For This user: None
> is this admin user? : YES
> Deactivate this user? : ACTIVE
>
> 6) click save
> User creation error has been thrown (see screenshot)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)