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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 13.0.0
    • None
    • script editor, XUI
    • OpenAM 13.0.0-SNAPSHOT (2015-September-28 03:07)
    • Rank:
      1|hzq73b:

    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

              Unassigned Unassigned
              AndrewVinall Andrew Vinall
              Andrew Vinall Andrew Vinall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: