[
https://issues.apache.org/jira/browse/OFBIZ-12421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Smits closed OFBIZ-12421.
--------------------------------
Fix Version/s: Upcoming Branch
Resolution: Fixed
Thanks to Jacques for his assistance to get this into the codebase.
> 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
> Fix For: Upcoming Branch
>
>
> 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)