← Back to team overview

mahara-contributors team mailing list archive

[Bug 1892106] Re: Allow webservices external apps to show configuration options based on functions it contains

 

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1892106

Title:
  Allow webservices external apps to show configuration options based on
  functions it contains

Status in Mahara:
  In Progress

Bug description:
  Currently the LTI module has the ability to configure the following 2 options:
  - autocreateusers
  - parentauth

  And they are used in the module_lti_launch function.

  But if we make a custom webservice and include module_lti_launch as
  one of it's services we have no way (apart from directly on database)
  to set these options

  Currently the webservice/admin/oauthv1sregister.php page shows the config cog if a module has 
  has_oauth_service_config() set to true and displays the config form via get_oauth_service_config_options()

  But what we should have is some code that checks if the webservice
  contains functions that have config options and then display the
  button / form

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1892106/+subscriptions


References