Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66037

Required capabilities in Web Services definitions are misleading

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
    • Affected Branches:
      MOODLE_37_STABLE

      Description

      For some admins it may seem that he needs to grant the listed capabilities there to the assigned user so he can use the WebService but, that field, is merely informative and it does not have any real effect because the capabilities are check not in the global context but only in the context related to the WS params.

      Apart from that, some capabilities not really required are listed there for some WebServices.

      To summarise, we should:

      • Review existing WS with that field set and remove the capabilities that are not really used withint a require_capability
      • Reword the current services/token report so it does not reflect that those capabilities are mandatory at system level

      Or, maybe, deprecate that field?

      This issue was initially raised by David Mudrák (@mudrd8mz)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jleyva Juan Leyva
            Participants:
            Component watchers:
            Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: