[
https://issues.apache.org/jira/browse/OFBIZ-12421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450671#comment-17450671
]
ASF subversion and git services commented on OFBIZ-12421:
---------------------------------------------------------
Commit ab0e8495b2a60eefd01fe555df1204cba5e5c7f7 in ofbiz-framework's branch
refs/heads/trunk from Pierre Smits
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=ab0e849 ]
Fixed: VIEW permissions - error when accessing IncomeStatement (OFBIZ-12421)
(#369)
When a user with VIEW permissions (e.g. auditor) access the IncomeStatement via
following uri, an error is shown.
https://demo-trunk.ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
{code:java}
java.lang.IllegalArgumentException: Error calling service with name
getPartyAccountingPreferences: org.apache.ofbiz.service.ServiceAuthException:
You haven't the permission for the service getPartyAccountingPreferences,
reason : Access refused{code}
Modified AccountingDemoData.xml
added SecurityGroupPermission record
> VIEW permissions - error when accessing IncomeStatement
> -------------------------------------------------------
>
> Key: OFBIZ-12421
> URL: https://issues.apache.org/jira/browse/OFBIZ-12421
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pierre Smits
> Priority: Major
> Labels: income-statement, permissions, usability
>
> When a user with VIEW permissions (e.g. auditor) access the IncomeStatement
> via following uri, an error is shown.
> https://demo-trunk.ofbiz.apache.org/accounting/control/IncomeStatement?organizationPartyId=Company
> {code:java}
> java.lang.IllegalArgumentException: Error calling service with name
> getPartyAccountingPreferences: org.apache.ofbiz.service.ServiceAuthException:
> You haven't the permission for the service getPartyAccountingPreferences,
> reason : Access refused{code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)