You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Gautam Borad (JIRA)" <ji...@apache.org> on 2015/04/10 16:12:12 UTC
[jira] [Commented] (RANGER-381) Not able to create group with dot
character
[ https://issues.apache.org/jira/browse/RANGER-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489691#comment-14489691 ]
Gautam Borad commented on RANGER-381:
-------------------------------------
[~hanish.bansa] The patch looks good. However, if we are changing the validation, lets make sure we are *inclusive* of the regex that is supported by linux groups (which is : {{[_a-z][-0-9_a-z]*\$?}}) so groups imported from Ranger Usersync are not affected.
The regex you are using is : {{/^[a-zA-Z][a-zA-Z0-9_'.&-]*[A-Za-z0-9]$/}}
> 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)