Allow customization of the username-to-user-role mapping

Description

Opencast will assign a user role to each user. The name of this user role is generated based on the username:

user role = "ROLE_USER_" + sanitize(username)

Currently, this mapping is hardcoded. Note that this is an unidirectional mapping, i.e. when the username is known, the user role is known, too, but not vice versa.

When integrating Opencast, it can be desirable to establish a bidirectional mapping, however.

This task is supposed to make the mapping customizable by allowing both the user role perfix (here: ROLE_USER_) and sanitization of the user roles to be configured.

Assignee

Sven Stauber

Reporter

Sven Stauber

Tags (folksonomy)

None

Components

Fix versions

Priority

Minor
Configure