Flexadmin cannot invoke the service [createPartyAcctgPreference]
---------------------------------------------------------------- Key: OFBIZ-815 URL: https://issues.apache.org/jira/browse/OFBIZ-815 Project: OFBiz (The Open for Business Project) Issue Type: Bug Components: accounting Affects Versions: SVN trunk Environment: JDK 1.5, Database postgresql Reporter: Vikrant Rathore When creating a new company and then trying to setup its accounting preference the error comes up. The console.log is below: You do not have permission to invoke the service [createPartyAcctgPreference] Service [createPartyAcctgPreference] threw an unexpected exception/error Exception: org.ofbiz.service.ServiceAuthException Message: You do not have permission to invoke the service [createPartyAcctgPreference] ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceAuthException: You do not have permission to invoke the service [createPartyAcctgPreference] org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:781) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:290) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:410) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) javax.servlet.http.HttpServlet.service(HttpServlet.java:615) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481919 ] Scott Gray commented on OFBIZ-815: ---------------------------------- Can anyone confirm whether or not flexadmin is supposed to have permission for this? Currently it is only assigned to FULLADMIN and BIZADMIN > Flexadmin cannot invoke the service [createPartyAcctgPreference] > ---------------------------------------------------------------- > > Key: OFBIZ-815 > URL: https://issues.apache.org/jira/browse/OFBIZ-815 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: JDK 1.5, Database postgresql > Reporter: Vikrant Rathore > > When creating a new company and then trying to setup its accounting preference the error comes up. The console.log is below: > You do not have permission to invoke the service [createPartyAcctgPreference] > Service [createPartyAcctgPreference] threw an unexpected exception/error > Exception: org.ofbiz.service.ServiceAuthException > Message: You do not have permission to invoke the service [createPartyAcctgPreference] > ---- stack trace --------------------------------------------------------------- > org.ofbiz.service.ServiceAuthException: You do not have permission to invoke the service [createPartyAcctgPreference] > org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:781) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:290) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:410) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Wu updated OFBIZ-815: --------------------------- I can setup the accounting preference for a new company with "admin" who has only "FULLADMIN" permission. > Flexadmin cannot invoke the service [createPartyAcctgPreference] > ---------------------------------------------------------------- > > Key: OFBIZ-815 > URL: https://issues.apache.org/jira/browse/OFBIZ-815 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: JDK 1.5, Database postgresql > Reporter: Vikrant Rathore > > When creating a new company and then trying to setup its accounting preference the error comes up. The console.log is below: > You do not have permission to invoke the service [createPartyAcctgPreference] > Service [createPartyAcctgPreference] threw an unexpected exception/error > Exception: org.ofbiz.service.ServiceAuthException > Message: You do not have permission to invoke the service [createPartyAcctgPreference] > ---- stack trace --------------------------------------------------------------- > org.ofbiz.service.ServiceAuthException: You do not have permission to invoke the service [createPartyAcctgPreference] > org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:781) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:290) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:410) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487182 ] Vikrant Rathore commented on OFBIZ-815: --------------------------------------- Hi Jason, yes this is exactly what Scott mentioned that currently only FULLADMIN and BIZADMIN have the permission to setup accounting preference. He asked other project admins whether it should be assigned to flexadmin or not. In my view it should be assigned to flexadmin as this role has all the granular permission. thanks with best regards, Vikrant > Flexadmin cannot invoke the service [createPartyAcctgPreference] > ---------------------------------------------------------------- > > Key: OFBIZ-815 > URL: https://issues.apache.org/jira/browse/OFBIZ-815 > Project: OFBiz (The Open for Business Project) > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: JDK 1.5, Database postgresql > Reporter: Vikrant Rathore > > When creating a new company and then trying to setup its accounting preference the error comes up. The console.log is below: > You do not have permission to invoke the service [createPartyAcctgPreference] > Service [createPartyAcctgPreference] threw an unexpected exception/error > Exception: org.ofbiz.service.ServiceAuthException > Message: You do not have permission to invoke the service [createPartyAcctgPreference] > ---- stack trace --------------------------------------------------------------- > org.ofbiz.service.ServiceAuthException: You do not have permission to invoke the service [createPartyAcctgPreference] > org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:781) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:290) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:410) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anil K Patel reassigned OFBIZ-815: ---------------------------------- Assignee: Anil K Patel > Flexadmin cannot invoke the service [createPartyAcctgPreference] > ---------------------------------------------------------------- > > Key: OFBIZ-815 > URL: https://issues.apache.org/jira/browse/OFBIZ-815 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Environment: JDK 1.5, Database postgresql > Reporter: Vikrant Rathore > Assignee: Anil K Patel > > When creating a new company and then trying to setup its accounting preference the error comes up. The console.log is below: > You do not have permission to invoke the service [createPartyAcctgPreference] > Service [createPartyAcctgPreference] threw an unexpected exception/error > Exception: org.ofbiz.service.ServiceAuthException > Message: You do not have permission to invoke the service [createPartyAcctgPreference] > ---- stack trace --------------------------------------------------------------- > org.ofbiz.service.ServiceAuthException: You do not have permission to invoke the service [createPartyAcctgPreference] > org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:781) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:290) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:410) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:243) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |