Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7113

Refactoring permission model call

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Community Day 3 - 2016

      Description

      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

        Attachments

        1. OFBIZ-7113.patch
          26 kB
          Nicolas Malin
        2. OFBIZ-7113.patch
          37 kB
          Nicolas Malin
        3. OFBIZ-7113.patch
          45 kB
          Nicolas Malin

          Issue Links

            Activity

              People

              • Assignee:
                nmalin Nicolas Malin
                Reporter:
                nmalin Nicolas Malin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: