XWiki Platform
  1. XWiki Platform
  2. XWIKI-7769

Allow Script Macros to customize their security policy for deciding when they can execute

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1-milestone-1
    • Component/s: Scripting
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now the algorithm is hardcoded in PermissionCheckerListener to check for Programming Rights. Make this extensible by:

      • Introducing a new MacroPermissionPolicy component role
      • Deprecating PrivilegedScriptMacro which is no longer needed

        Issue Links

          Activity

          Hide
          Vincent Massol added a comment -

          Done

          Show
          Vincent Massol added a comment - Done

            People

            • Assignee:
              Vincent Massol
              Reporter:
              Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: