Get Pending Script Permissions Requests

21 December 2014

  • Release 7.34 - added.
getscriptpermissionrequests (Commands)
TypeCorrade progressive command
Commandgetscriptpermissionrequests
DescriptionThe getscriptpermissionrequests command can be used to retrieve a CSV list of pending script permission requests.
Permissionsinteract
Parametersgroup, password
Last ChangesRelease 7.34 - added.

The getscriptpermissionrequests command can be used to retrieve a CSV list of pending script permission requests.

Command Required Parameters Required Corrade Permissions Example
getscriptpermissionrequests group, password interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get all pending script permission requests
            "command", "getscriptpermissionrequests",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL)
        ]
    )
);

The CSV list of returned script permission requests contains, in order:

  1. the object name.
  2. the owner name.
  3. the item UUID.
  4. the task UUID.
  5. the permissions as CSV list of permissions to grant a script.

Some of the returned parameters in the CSV list are the ones needed by the replytoscriptpermissionrequest command in order to reply to the script permission request.