[ 
https://issues.apache.org/jira/browse/RANGER-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494171#comment-14494171
 ] 

Hanish Bansal commented on RANGER-381:
--------------------------------------

Defect fix required changes in regular expression for group name and message 
displayed for warning on invalid group name.

Group creation is already validated by one of test case 
org.apache.ranger.biz.TestXUserMgr.test13CreateXGroup() so I didn't make any 
changes in test case.

To verify I followed below steps:
1. Create a group from Ranger admin UI with dot in name e.g. hanish.bansal
2. Assigned that group to a user lets say hanish.bansal
3. Also verified that policy is working fine for that group.


> Not able to create group with dot character
> -------------------------------------------
>
>                 Key: RANGER-381
>                 URL: https://issues.apache.org/jira/browse/RANGER-381
>             Project: Ranger
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1
>            Reporter: Hanish Bansal
>            Assignee: Hanish Bansal
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.5.0
>
>         Attachments: 
> 0001-RANGER-381-Not-able-to-create-group-with-dot-charact.patch
>
>
> When creating group with dot in name (E.g. "hanish.bansal") from Ranger admin 
> UI, it gives error message "Please enter valid name".
> Since linux group naming convention allow dot (.) character, so same should 
> be allowed from Ranger admin UI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to