XWiki Platform
  1. XWiki Platform
  2. XWIKI-10284

User Directory should not show full XWiki username

    Details

    • Difficulty:
      Trivial
    • Similar issues:

      Description

      Currently user directory shows "xwiki:XWiki.userid". It should only show "userid"

        Activity

        Hide
        Vincent Massol added a comment -

        Why do you want to show the "userid" at all? This seems to be internal and technical information. I'd rather we only show "Firstname LastName" and possibly have a tooltip on hover to display the "userid" if we think it's important.

        Show
        Vincent Massol added a comment - Why do you want to show the "userid" at all? This seems to be internal and technical information. I'd rather we only show "Firstname LastName" and possibly have a tooltip on hover to display the "userid" if we think it's important.
        Hide
        Marius Dumitru Florea added a comment -

        Vincent Massol the user id (alias) is not really technical. It is used by the user to login. What's technical is the document reference "xwiki:XWiki.userid". Note that the user displayer shows the user alias below the user name. I'm going to apply a quick fix that simply replaces the 'doc.fullName' column with the 'doc.name' column. We can discuss the redesign of the User Directory in a different issue. I know Ecaterina Moraru (Valica) has some proposals, but they require more work and thus more time allocated in the roadmap.

        Show
        Marius Dumitru Florea added a comment - Vincent Massol the user id (alias) is not really technical. It is used by the user to login. What's technical is the document reference "xwiki:XWiki.userid". Note that the user displayer shows the user alias below the user name. I'm going to apply a quick fix that simply replaces the 'doc.fullName' column with the 'doc.name' column. We can discuss the redesign of the User Directory in a different issue. I know Ecaterina Moraru (Valica) has some proposals, but they require more work and thus more time allocated in the roadmap .
        Hide
        Vincent Massol added a comment -
        Show
        Vincent Massol added a comment - sounds good Marius Dumitru Florea
        Hide
        Eduard Moraru added a comment -

        What about users from different wikis, but having the same userID?

        Show
        Eduard Moraru added a comment - What about users from different wikis, but having the same userID?
        Hide
        Marius Dumitru Florea added a comment -

        Eduard Moraru see Main.UserDirectory. If the wiki supports both local and global users then you can choose to see either the local users or the global users from a drop down list. So the users listed by the User Directory live table are always from the same wiki, at lest for now. When this will change we'll improve the display to include the wiki pretty name, if needed (similar to what the user displayer does).

        Show
        Marius Dumitru Florea added a comment - Eduard Moraru see Main.UserDirectory . If the wiki supports both local and global users then you can choose to see either the local users or the global users from a drop down list. So the users listed by the User Directory live table are always from the same wiki, at lest for now. When this will change we'll improve the display to include the wiki pretty name, if needed (similar to what the user displayer does).

          People

          • Assignee:
            Marius Dumitru Florea
            Reporter:
            Ludovic Dubost
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: