Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6958

Script Editor: Attempting to validate a script results in 403 Forbidden

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: script editor, XUI
    • Labels:
    • Environment:
      OpenAM 13.0.0-SNAPSHOT (2015-September-28 03:07)

      Description

      Script Editor: Attempting to validate a script results in 403 Forbidden Error
      (See related OPENAM-6964)

      Clicking the 'Validate' button on a script's page results in these two errors being displayed on the screen in close succession. The user being logged out i.e. the Login Dialog is displayed.

      Error Messages

      • "No privilege mapping for requested action validate"
      • "Forbidden request error."

      403 Forbidden Error reproduced using REST:

      curl -X POST -H "iplanetDirectoryPro: AQIC5wTMQAA*" -H "Content-Type: application/json" -d '{"script":"cmV0dXJuIFRydWUg","language":"JAVASCRIPT"}' 'http://aczv.205.example.com:8080/openam/json/scripts?_action=validate'
      

      PROBLEM:

        "code": 403,
        "reason": "Forbidden",
        "message": "No privilege mapping for requested action validate"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                AndrewVinall Andrew Vinall
                QA Assignee:
                Andrew Vinall
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: