Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12961

Allow exposing properties of objects other than XWiki.XWikiUser class in the "Profile" section of the user profile

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.4
    • Fix Version/s: None
    • Component/s: User - User Profile
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now, the supported usecase for the "Users and Groups > User Profile" section in wiki Administration is for an admin to extend (or use) the XWiki.XWikiUsers class to store and expose extra (or existing) user properties/metadata/preferences. However, this usecase is not ideal when upgrading, since the XWiki.XWikiUsers class is a standard XE distribution document and it may cause conflicts as it needs merging.

      Besides the upgrade issues, most applications already prefer to use their own classes for user preferences, so the Administration section can not be used to expose those preferences.

      We need a way(syntax?) to also allow specifying the class of the property we are exposing in the "Profile" section of the user profile.

      Example:
      MyApp.MyClass^someProperty <- class prefix specified
      someOtherProperty <- no prefix means XWiki.XWikiUsers as default

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: