User Account Menu
Menu or toolbar (depending on the location of the plugin assignment) to display the current user. It contains submenus to trigger various Account actions.
Configuration
The following configuration controls, among other things, the order and availability of Account actions.
{
"userTextTpl" : "Benutzer: {global.userSession.firstName}", (1)
"userTooltipTpl" : "{global.userSession.firstName} {global.userSession.lastName} ({global.userSession.loginName})", (2)
"languageSelector" : true, (3)
"accountPage" : true, (4)
"logout" : false, (5)
"changePw" : true, (6)
"icon" : true, (7)
"deleteLocalStorage" : true, (8)
"cookieSettings" : true, (9)
"link" : false, (10)
"linkTarget" : "popup,width=320,height=320", (11)
"linkUrl" : "https://example.com/auth/realms/MY_REALM/account", (12)
"linkText" : "Account Management", (13)
"linkIconCls" : "x-fal fa-user-edit", (14)
"buttonLogout" : false, (15)
"avatar" : true, (16)
"updateProfile" : true, (17)
"configureTotp" : false, (18)
"changeOrganisation" : false, (19)
"menuContent" : [
"accountPage",
"updateProfile",
"configureTotp",
"changePw",
"link",
"languageSelector",
"cookieSettings",
"deleteLocalStorage",
"changeOrganisation",
"logout"
], (20)
}
| 1 | Textual representation of the button for the menu.
Information in the UserSession can be accessed here via XTemplate syntax.
If the value is left empty, the first and last name of the current user are displayed. Further details on XTemplate syntax and its use can be found on the XTemplate syntax page |
||
| 2 | Content of the tooltip available on the menu button. XTemplate syntax can also be used here. | ||
| 3 | If true:
Offers the option of changing the language in the BPC.See also Multiple Language Support. Until BPC 4.2.4 this option was called See also account action |
||
| 4 | If true:
Navigates to the user information page.
See also account action |
||
| 5 | If true:
Logs the user out.
See also account action |
||
| 6 | If true:
Allows you to change your own password.See also Change password. See also account action |
||
| 7 | If true, an icon is displayed in front of the text (userTextTpl). |
||
| 8 | If true:
Deletes local data in the browser.See also Resetting the local storage. See also account action |
||
| 9 | If true:
Displays the personal privacy settings.This can be used to control whether personalization information should be stored in addition to necessary information. See also account action |
||
| 10 | If true:
Link to an external page (e.g. for account management in the identity provider). for account management in the identity provider).
The link target is defined via linkUrl.
See also account action |
||
| 11 | Specifies how the link should be opened.
All valid target values can be entered here, e.g. to open the link in a new tab/tab.For example, to open the link in a new tab/window.
If the value contains the term popup, a browser pop-up is generated and all window features can be used, e.g. to influence the position and size of the pop-up. |
||
| 12 | Target of the link. | ||
| 13 | Textual content for the menu element that represents the link. | ||
| 14 | Icon on the menu element for the link. | ||
| 15 | Additional logout button directly next to the account menu. This is only displayed if the account menu is not integrated within another menu (e.g. the global menu). | ||
| 16 | Display of an avatar instead of a button.
The avatar is a round representation of the initials of the logged-in user.
Alternatively, an image can also be displayed.
To enable this, your identity provider (OIDC or Keycloak) must set the picture attribute correctly.
To load images, it may be necessary to include the source server in the Content Security Policy header.
The avatar display does not work within a menu. |
||
| 17 | If true:
Displays a popup in which the user’s own profile can be edited in the Keycloak.
See also account action |
||
| 18 | If true:
Displays a popup in which the own TOTP configuration in the Keycloak can be edited.
See also account action |
||
| 19 | If true:
See also account action |
||
| 20 | The order of the elements in the menu can be controlled via this array.
The names of the elements correspond to the attribute names via which they can be (de)activated.
If you do not want to influence the order, you can also remove this parameter.
|