diff --git a/src/python/dm/common/service/auth/noOpPrincipalRetriever.py b/src/python/dm/common/service/auth/noOpPrincipalRetriever.py index d5066644ff0acc710f5b52fa161533ffe95614d2..45f7d9fe68f495d8ff23e8b96b88654561d71ebc 100755 --- a/src/python/dm/common/service/auth/noOpPrincipalRetriever.py +++ b/src/python/dm/common/service/auth/noOpPrincipalRetriever.py @@ -14,6 +14,8 @@ class NoOpPrincipalRetriever(AuthorizationPrincipalRetriever): # Set password to be the same as username noOpPassword = CryptUtility.cryptPasswordWithPbkdf2(username) principal = AuthorizationPrincipal(name=username, token=noOpPassword) + principal.setUserSystemRoleDict({dmRole.DM_ADMIN_SYSTEM_ROLE_ID:[]}) + principal.setUserExperimentRoleDict({}) self.setAuthorizationPrincipalSessionRole(principal) return principal