The user and the admin management feature of the IAM Adminapp allows assigning roles to users and admins.
- The sets of possible roles are defined in the configuration:
- User management: Adminapp >> Users >> Available User Roles
- Admin management: Adminapp >> Administrators >> Administrators Management >> Assignable Role Combinations
The roles may be translated by providing the corresponding resource keys as described above using properties files. If not translations are provided, the technical role name is displayed (e.g. customer
or useradmin
).
- To provide translations for roles use the following resource keys:
- For user management:
roles.user.labels.<rolename>
- For admin management:
roles.admin.labels.<rolename>
Example 1: Role translation for a user role
To provide an English translation for the user role customer
, the following property has to be defined in strings_en.properties
:
roles.user.labels.customer = Customer
Example 2: Role translations for admin roles and role combinations
To provide English translations for the admin roles useradmin
and tokenadmin
as well as the role combination tokenadmin,useradmin
, the following properties have to be defined in strings_en.properties:
roles.admin.labels.useradmin = User Administrator
roles.admin.labels.tokenadmin = Token Administrator
roles.admin.labels.tokenadmin,useradmin = Token- and User Administrator
Note that translations for all role combinations (as defined in the configuration) have to be defined. In the above example, would not be sufficient to provide translations only for roles useradmin
and tokenadmin
.