fix privileged action is not executed, if the user is already an admin

This commit is contained in:
Sebastian Sdorra
2013-01-12 13:14:11 +01:00
parent 40ce740ae5
commit b66ae705c2

View File

@@ -129,7 +129,9 @@ public class DefaultAdministrationContext implements AdministrationContext
if (subject.hasRole(Role.ADMIN))
{
logger.debug(
"user is already an admin, we need no system account session");
"user is already an admin, we need no system account session, execute action {}",
action.getClass().getName());
action.run();
}
else
{