Permissions Issue with Web Customers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Permissions Issue with Web Customers

Alan-140
Hi

We use the webapp but at the end of each sale we get the following error
message.

I suspect I have a configuration error somewhere to do with permissions
being allocated to new customers but don't know where.

Any help would be appreciated.

Alan Halley


2009-04-21 13:05:16,751 (TP-Processor18) [
Log.java:100:INFO ] Checking for primary permission ACCTG_ATX_CREATE
2009-04-21 13:05:16,752 (TP-Processor18) [
ServiceDispatcher.java:578:INFO ] Sync service
[ecommerce/acctgTransactionPermissionCheck] finished in [69]
milliseconds
2009-04-21 13:05:16,753 (TP-Processor18) [
ServiceDispatcher.java:497:INFO ] [[Sync service failed...-
total:0.0,since last(Begin):0.0]] - 'ecommerce /
createAcctgTransAndEntries'
2009-04-21 13:05:16,811 (TP-Processor18) [
ServiceDispatcher.java:500:ERROR]
---- exception report
----------------------------------------------------------
Service [createAcctgTransAndEntries] threw an unexpected exception/error
Exception: org.ofbiz.service.ServiceAuthException
Message: Security Error: To run createAcctgTransAndEntries you must have
the one of the following permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN
---- stack trace
---------------------------------------------------------------
org.ofbiz.service.ServiceAuthException: Security Error: To run
createAcctgTransAndEntries you must have the one of the following
permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN
org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:908)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:342)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)

Reply | Threaded
Open this post in threaded view
|

Re: Permissions Issue with Web Customers

Eric DE MAULDE
The user of the service "createAcctgTransAndEntries" has to be a member of
one "ACCTG_ATX_CREATE" or "ACCTG_ATX_ADMIN" from security permission
The related user is a parameter of this service.

Eric
----- Original Message -----
From: "Alan" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, April 25, 2009 12:03 PM
Subject: Permissions Issue with Web Customers


> Hi
>
> We use the webapp but at the end of each sale we get the following error
> message.
>
> I suspect I have a configuration error somewhere to do with permissions
> being allocated to new customers but don't know where.
>
> Any help would be appreciated.
>
> Alan Halley
>
>
> 2009-04-21 13:05:16,751 (TP-Processor18) [
> Log.java:100:INFO ] Checking for primary permission ACCTG_ATX_CREATE
> 2009-04-21 13:05:16,752 (TP-Processor18) [
> ServiceDispatcher.java:578:INFO ] Sync service
> [ecommerce/acctgTransactionPermissionCheck] finished in [69]
> milliseconds
> 2009-04-21 13:05:16,753 (TP-Processor18) [
> ServiceDispatcher.java:497:INFO ] [[Sync service failed...-
> total:0.0,since last(Begin):0.0]] - 'ecommerce /
> createAcctgTransAndEntries'
> 2009-04-21 13:05:16,811 (TP-Processor18) [
> ServiceDispatcher.java:500:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Service [createAcctgTransAndEntries] threw an unexpected exception/error
> Exception: org.ofbiz.service.ServiceAuthException
> Message: Security Error: To run createAcctgTransAndEntries you must have
> the one of the following permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceAuthException: Security Error: To run
> createAcctgTransAndEntries you must have the one of the following
> permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN
> org.ofbiz.service.ServiceDispatcher.checkAuth(ServiceDispatcher.java:908)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:342)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
> org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:245)
> org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:921)
>
>