[ 
https://issues.apache.org/jira/browse/OFBIZ-12421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450611#comment-17450611
 ] 

Pierre Smits commented on OFBIZ-12421:
--------------------------------------

UserLoginId "auditor" is associated with a UserLoginSecurityGroup record (in 
demo datasets) where the groupId="VIEWADMIN". However, This 
UserLoginSecurityGroup record (in demo datasets) is not associated with a 
SecurityGroupPermission record where permissionId="ACCTG_PREF_VIEW".

> 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
>            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)

Reply via email to