[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27360#action_27360
 ] 

Benoît Segaert commented on MAGNOLIA-3134:
------------------------------------------

My version is 4.2.3.
In the info.magnolia.module.admininterface.trees.UserTreeConfiguration (user 
interface), the "new" menu calls .createNode()

  ContextMenuItem menuNew = new ContextMenuItem("new");
        menuNew.setLabel(msgs.get("tree.users.menu.new")); //$NON-NLS-1$
        menuNew.setIcon(request.getContextPath() + 
"/.resources/icons/16/pawn_glass_yellow_add.gif"); //$NON-NLS-1$
        menuNew.setOnclick(tree.getJavascriptTree() + ".createNode('" 
//$NON-NLS-1$
            + ItemType.USER.getSystemName()
            + "');");


This function calls a method that check only the name on the same level of the 
user repository.

Should we create a new function that can validate the user name through the 
whole repository?

> User with same User Name can be created
> ---------------------------------------
>
>                 Key: MAGNOLIA-3134
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3134
>             Project: Magnolia
>          Issue Type: Bug
>          Components: admininterface
>    Affects Versions: 4.2, 4.2.1, 4.2.2, 4.2.3
>            Reporter: Benoît Segaert
>            Assignee: Philipp Bärfuss
>
> With the current folder structure, it is now possible to create a user with 
> same User Name.
> Consequent, it will not be possible to login anymore with these users.
> The check is only done in the current folder.
> How to reproduce:
>  - Create a folder A
>  - Create a user "test" on this folder
>  - Create a new folder B
>  - create a user "test" on this folder. The user can be created and should be 
> "test0".
>  - Create a user  "test" in root. The user can be created and should be 
> "test0"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to