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

Create persistent model for user_competency

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
    • Story Points:
      3
    • Sprint:
      CBE Sprint 1

      Description

      This issue is about creating the basic API create CRUD user competencies.

      User competencies are links between the user and a competency, often they will be transparently created from a user plan.

      This issue should not be creating any external function or API yet as we will not even have a view, and also because the capability checks are tricky in this case as the model is only used to store information at this stage. Later on when we add competency reviews then we will have API and external functions.

      The persistent model is the only thing we need.

      Non-exhaustive list of columns needed:

      • int id
      • int userid
      • int competencyid
      • int status (idle, in review, etc, will be defined later) (use constants)
      • int reviewerid
      • bool proficiency
      • int grade (from a scale)

      At this stage we will consider that the linked competency cannot be deleted without deleting the user_competency, therefore we do not need to duplicate the competency information like scale, etc...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sergeg55 Serge Gauthier
                Reporter:
                fred Frédéric Massart
                Peer reviewer:
                Frédéric Massart
                Participants:
                Component watchers:
                Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: