do a custom createproduct
getting this message
Service [createProduct] threw an unexpected exception/error
Exception: org.ofbiz.service.ServiceAuthException
Message: User authorization is required for this service: createProduct
I login via
                        userLogin = delegator.findByPrimaryKey("UserLogin", 
UtilMisc
                                        .toMap("userLoginId", "system"));
and passing that in for the login.

My question is, do I have to explicity add the system login to the
createproduct service or add the permissions in the createproduct
service to the system login?
I believe the latter is the correct way to go.

Reply via email to