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

Move state actions capability checks to validate_cms method.

XMLWordPrintable

    • HQ 2023 Sprint i1.2 Moppies

      Once MDL-76893 is integrated, the core_coruse\stateactions::validate_cms accepts a new param to check extra capabilities in the activity contexts. However, most activity actions are still doing those capabilities checks manually.

      This issue is simply to remove all those repeated code blocks and move them to the new validate_cms param. Quite trivial but important to keep the code consistent and maintainable.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Carlos Escobedo Carlos Escobedo
            Amaia Anabitarte Amaia Anabitarte
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 20 minutes
                4h 20m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.