Error "IAM-8140001: You do not have permission to perform this operation." with "User xxx does not have view permission on User xxx." and "The logged-in user xxx does not have createScanRun permission on entities of type IdentityAuditScanRun."

(Doc ID 2285326.1)

Last updated on JULY 11, 2017

Applies to:

Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

End users are not able to directly request application instances from the catalog. After adding the application instance to the cart and making the request ready to submit, when hitting the Submit button an error popup is seen with:

"IAM-8140001: You do not have permission to perform this operation."

The OIM managed servers diagnostic logs have messages with:

[2017-07-10T17:18:15.216-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] User 1A Home does not have view permission on User 1A Home.
[2017-07-10T17:18:15.218-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam.request.impl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] User 1A Home does not have view permission on User 1A Home.[[
oracle.iam.exception.OIMServiceException: User 1A Home does not have view permission on User 1A Home.
at oracle.iam.request.util.RequestAuthorizationUtil.checkAuthorizationResultDenialReason(RequestAuthorizationUtil.java:586)
at oracle.iam.request.impl.RequestEngine.performAuthzChecksForRequester(RequestEngine.java:5389)
at oracle.iam.request.impl.RequestInternalServiceImpl.isLoginUserAuthorizedToSubmitRequest(RequestInternalServiceImpl.java:481)
at oracle.iam.ida.impl.authorization.IDAAuthorizationEngine.loginUserCanSubmitRequest(IDAAuthorizationEngine.java:148)
at oracle.iam.ida.impl.authorization.ScanRunAdvice.before(ScanRunAdvice.java:71)
...

]]
[2017-07-10T17:18:15.222-06:00] [WLS_OIM1] [WARNING] [] [oracle.iam.ida.impl.authorization] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] Caught exception during authorization check: checking permission to submit request for beneficiary(ies) [oracle.iam.request.vo.Beneficiary@3ec69daf] and targets null.
[2017-07-10T17:18:15.223-06:00] [WLS_OIM1] [WARNING] [] [oracle.iam.ida.impl.authorization] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] Caught exception during authorization check.[[
oracle.iam.request.exception.RequestServiceException: oracle.iam.exception.OIMServiceException: User 1A Home does not have view permission on User 1A Home.
at oracle.iam.request.impl.RequestInternalServiceImpl.isLoginUserAuthorizedToSubmitRequest(RequestInternalServiceImpl.java:485)
at oracle.iam.ida.impl.authorization.IDAAuthorizationEngine.loginUserCanSubmitRequest(IDAAuthorizationEngine.java:148)
at oracle.iam.ida.impl.authorization.ScanRunAdvice.before(ScanRunAdvice.java:71)
...
Caused by: oracle.iam.exception.OIMServiceException: User 1A Home does not have view permission on User 1A Home.
at oracle.iam.request.util.RequestAuthorizationUtil.checkAuthorizationResultDenialReason(RequestAuthorizationUtil.java:586)
at oracle.iam.request.impl.RequestEngine.performAuthzChecksForRequester(RequestEngine.java:5389)
at oracle.iam.request.impl.RequestInternalServiceImpl.isLoginUserAuthorizedToSubmitRequest(RequestInternalServiceImpl.java:481)
... 144 more

]]
[2017-07-10T17:18:15.230-06:00] [WLS_OIM1] [TRACE:16] [] [oracle.iam.ida.impl.authorization] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] [SRC_CLASS: oracle.iam.ida.impl.authorization.IDAAuthorizationUtil] [SRC_METHOD: getUserLoginIdFromKey] ENTRY 3011
[2017-07-10T17:18:15.230-06:00] [WLS_OIM1] [TRACE:16] [] [oracle.iam.ida.impl.authorization] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] [SRC_CLASS: oracle.iam.ida.impl.authorization.IDAAuthorizationUtil] [SRC_METHOD: getUserLoginIdFromKey] RETURN 1AHOME
[2017-07-10T17:18:15.231-06:00] [WLS_OIM1] [WARNING] [] [oracle.iam.ida.impl.authorization] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] The logged-in user 1AHOME does not have createScanRun permission on entities of type IdentityAuditScanRun.
[2017-07-10T17:18:15.232-06:00] [WLS_OIM1] [TRACE:16] [] [oracle.iam.ida.impl.authorization] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oim#11.1.2.0.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] [SRC_CLASS: oracle.iam.ida.impl.authorization.IDAAuthorizationEngine] [SRC_METHOD: loginUserCanSubmitRequest] THROW[[
oracle.iam.ida.exception.AccessDeniedException: The logged-in user 1AHOME does not have createScanRun permission on entities of type IdentityAuditScanRun.
at oracle.iam.ida.impl.authorization.IDAAuthorizationUtil.logAndConstructAccessDeniedException(IDAAuthorizationUtil.java:127)
at oracle.iam.ida.impl.authorization.IDAAuthorizationEngine.loginUserCanSubmitRequest(IDAAuthorizationEngine.java:157)
at oracle.iam.ida.impl.authorization.ScanRunAdvice.before(ScanRunAdvice.java:71)
...

]]
[2017-07-10T17:18:15.237-06:00] [WLS_OIM1] [ERROR] [] [oracle.iam] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 1AHOME] [ecid: 044df8a23fce83ea:5cca0fd0:15cae07cf4f:-8000-000000000001fdd7,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] [DSID: 0000LoimjNx85y25vr^AyX1PGlHi00000d] AccessDeniedException while running preventivePolicyCheck.[[
oracle.iam.ida.exception.AccessDeniedException: The logged-in user 1AHOME does not have createScanRun permission on entities of type IdentityAuditScanRun.
at oracle.iam.ida.impl.authorization.IDAAuthorizationUtil.logAndConstructAccessDeniedException(IDAAuthorizationUtil.java:127)
at oracle.iam.ida.impl.authorization.IDAAuthorizationEngine.loginUserCanSubmitRequest(IDAAuthorizationEngine.java:157)
at oracle.iam.ida.impl.authorization.ScanRunAdvice.before(ScanRunAdvice.java:71)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy329.createAccessRequestPreventivePreviewScan(Unknown Source)
...
]]

 The issue can also occur for Roles or Entitlements.

Changes

The issue may be seen after adding Application Instance, Role or Entitlement resource types to your domain.

It may also occur suddenly after an update to the Self Service Capabilities.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms