Article Details
Id:11856
Product:finPOWER Connect
Type:NEW
Version:2.01.00
Opened:09/05/2014
Closed:09/05/2014
Released:27/06/2014
Job: J013221

Scripts; Web Service (Web API) type Scripts updated to restrict Web Roles

The Web page of the Scripts form has been updated to allow 'Web Service (Web API)' type Scripts to restrict the Web Roles which can access them. The following checkboxes have been added:

  • Client
  • User
  • Web Admin

The Script details report has been updated and the finPOWER Connect Web Services have been updated to respect these settings.

NOTE: Any Web Service Scripts created in a previous version of finPOWER Connect will automatically have the three new checkboxes checked thereby not breaking any existing functionality.

When attempting to execute a custom Web Service from a Web Role that is not allowed, an error with a code of 'Script.Unauthorised' will be returned.

This is available in versions of the finPOWER Connect Web Services from 2.01.00 onwards.