Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5392

Access rule support for field view and update.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.7.3, 2.8
    • Component/s: Set: Dataform
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      Currently the Dataform supports 3 modes of field visibility and on/off switch for field editability. Field access rules, similar to those currently available for views and entries will allow far more flexible field access control. For instance, it would allow multiple grading of an entry by several grader, such that each grader can access only his/her grading elements.

      The feature requires a dataformaccessfield block and some adjustments of
      \mod_dataform\access\field_view
      \mod_dataform\access\field_update

      The accessfield block should add on the general rule definition elements:

      • Field selection, to allow applicability to a subset of fields.
      • Entries filter, to allow applicability condition by field content.

        Attachments

          Activity

            People

            Assignee:
            itamart Itamar Tzadok
            Reporter:
            itamart Itamar Tzadok
            Tester:
            Itamar Tzadok
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Nov/14