UserInformation can be set after initial login

Description

Modify org.mycore.common.MCRSession.setUserInformation(MCRUserInformation) so that it throws an Exception if the MCRUserInformation instance parameter is not the guest user or the current user is neither guest nor super user.

Environment

None

Assignee

Thomas Scheffler

Reporter

Thomas Scheffler

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Medium
Configure