[ https://issues.apache.org/jira/browse/ATLAS-4437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nixon Rodrigues updated ATLAS-4437: ----------------------------------- Summary: Atlas Not able create __AtlasAuditEntry type entities when user has types permission and no entity permission when new typedef is created. (was: Atlas Not able create __AtlasAuditEntry type entities when types user has types permission and no entity permission when new typedef is created.) > Atlas Not able create __AtlasAuditEntry type entities when user has types > permission and no entity permission when new typedef is created. > ------------------------------------------------------------------------------------------------------------------------------------------ > > Key: ATLAS-4437 > URL: https://issues.apache.org/jira/browse/ATLAS-4437 > Project: Atlas > Issue Type: Bug > Reporter: Nixon Rodrigues > Priority: Major > > Should Skip authz check for internal type of entities. > {code:java} > 2021-09-22 18:28:26,127 ERROR - [etp94748968-233 - > 55fa25f7-d35f-4ac3-8307-1be260e12ddc:] ~ OnChange failed for listener > org.apache.atlas.repository.audit.TypeDefAuditListener > (AtlasTypeDefGraphStore$TypeRegistryUpdateHook:1151)2021-09-22 18:28:26,127 > ERROR - [etp94748968-233 - 55fa25f7-d35f-4ac3-8307-1be260e12ddc:] ~ OnChange > failed for listener org.apache.atlas.repository.audit.TypeDefAuditListener > (AtlasTypeDefGraphStore$TypeRegistryUpdateHook:1151)org.apache.atlas.exception.AtlasBaseException: > xxxx is not authorized to perform create entity: type=__AtlasAuditEntry at > org.apache.atlas.authorize.AtlasAuthorizationUtils.verifyAccess(AtlasAuthorizationUtils.java:64) > at > org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.createOrUpdate(AtlasEntityStoreV2.java:1268) > at > org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.createOrUpdate(AtlasEntityStoreV2.java:437) > at > org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$FastClassBySpringCGLIB$$6861dca9.invoke(<generated>) > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) > at > org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:111) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) > at > org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$d3638c28.createOrUpdate(<generated>) > at org.apache.atlas.repository.ogm.DataAccess.saveNoLoad(DataAccess.java:75) > at > org.apache.atlas.repository.audit.AtlasAuditService.save(AtlasAuditService.java:65) > at > org.apache.atlas.repository.audit.AtlasAuditService.add(AtlasAuditService.java:106) > at > org.apache.atlas.repository.audit.AtlasAuditService.add(AtlasAuditService.java:86) > at > org.apache.atlas.repository.audit.AtlasAuditService.add(AtlasAuditService.java:71) > at > org.apache.atlas.repository.audit.AtlasAuditService$$FastClassBySpringCGLIB$$2eddda47.invoke(<generated>) > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:668) > at > org.apache.atlas.repository.audit.AtlasAuditService$$EnhancerBySpringCGLIB$$5bbbf7c2.add(<generated>) > at > org.apache.atlas.repository.audit.TypeDefAuditListener.createAuditEntry(TypeDefAuditListener.java:105) > at > org.apache.atlas.repository.audit.TypeDefAuditListener.createAuditEntry(TypeDefAuditListener.java:70) > at > org.apache.atlas.repository.audit.TypeDefAuditListener.onChange(TypeDefAuditListener.java:56) > at > org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore$TypeRegistryUpdateHook.notifyListeners(AtlasTypeDefGraphStore.java:1149) > at > org.apache.atlas.repository.store.graph.AtlasTypeDefGraphStore$TypeRegistryUpdateHook.onComplete(AtlasTypeDefGraphStore.java:1133) > at > org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:162) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) > at > org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672) > at > org.apache.atlas.repository.store.graph.v2.AtlasTypeDefGraphStoreV2$$EnhancerBySpringCGLIB$$576e0528.createTypesDef(<generated>) > at > org.apache.atlas.web.rest.TypesREST.createAtlasTypeDefs(TypesREST.java:399) > at > org.apache.atlas.web.rest.TypesREST$$FastClassBySpringCGLIB$$1c2e37c6.invoke(<generated>) > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) > at > org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:84) > at > org.apache.atlas.web.service.TimedAspectInterceptor.timerAdvice(TimedAspectInterceptor.java:46) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)