[
https://issues.apache.org/jira/browse/OFBIZ-7113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-7113:
-----------------------------------
Description:
With the subject on mailing list "Permission service not on the same transaction" :
http://markmail.org/message/34vxi4ntmbj7vzcrI started the improvement but the java code need to be clean and refactoring.
I share my first draft patch, but need more works. I realize :
* unified call evalPermission
* move all related field for permission service on ModelService to ModelPermission
* Remove deprecated code
* start labelized error message
* add new attributes on permission model : required-new-transaction and return-error-on-failure
was:
With the subject on mailing list "Permission service not on the same transaction" :
https://pony-poc.apache.org/thread.html/Zuhdndeabr0azb1
I started the improvement but the java code need to be clean and refactoring.
I share my first draft patch, but need more works. I realize :
* unified call evalPermission
* move all related field for permission service on ModelService to ModelPermission
* Remove deprecated code
* start labelized error message
* add new attributes on permission model : required-new-transaction and return-error-on-failure
> Refactoring permission model call
> ---------------------------------
>
> Key: OFBIZ-7113
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7113> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Minor
> Attachments: OFBIZ-7113.patch, OFBIZ-7113.patch
>
>
> With the subject on mailing list "Permission service not on the same transaction" :
http://markmail.org/message/34vxi4ntmbj7vzcr> I started the improvement but the java code need to be clean and refactoring.
> I share my first draft patch, but need more works. I realize :
> * unified call evalPermission
> * move all related field for permission service on ModelService to ModelPermission
> * Remove deprecated code
> * start labelized error message
> * add new attributes on permission model : required-new-transaction and return-error-on-failure
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)