Uploaded image for project: '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
    • Status: Closed
    • Priority: 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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: