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

Refactoring permission model call

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • 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
          45 kB
          Nicolas Malin
        2. OFBIZ-7113.patch
          37 kB
          Nicolas Malin
        3. OFBIZ-7113.patch
          26 kB
          Nicolas Malin

        Issue Links

          Activity

            People

            • Assignee:
              nmalin Nicolas Malin
              Reporter:
              nmalin Nicolas Malin

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Issue deployment