Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      35787

      Description

      In 1.9 we can not say easily that somebody may visit course, but does not actually participate in it. The capability moodle/course:view is used for both

      • the user can view the course
      • the user can participate in the course

      In 2.0, a new capability moodle/course:participate can be used to explicitly specify the second (ie actual enrolment in a course).

      Normal users in a course would have both. Users like managers and so on who just need to see the course would only have "view".

      We can get rid of the old hidden role assignments field completely.

        Activity

        Hide
        Martin Dougiamas added a comment -

        If we have a new course_participants table to keep track of participants enrolled in courses (http://docs.moodle.org/en/Development:Enrolment_rewrite_and_role_tweaks_proposal#New_course_participants_database_table), do we really need a new moodle/course:visit capability? Isn't it enough to keep using moodle/course:view for actual user capabilities?

        Show
        Martin Dougiamas added a comment - If we have a new course_participants table to keep track of participants enrolled in courses ( http://docs.moodle.org/en/Development:Enrolment_rewrite_and_role_tweaks_proposal#New_course_participants_database_table ), do we really need a new moodle/course:visit capability? Isn't it enough to keep using moodle/course:view for actual user capabilities?
        Hide
        Petr Škoda added a comment -

        Tn theory yes, but it would make the upgrade a lot more harder and I thought ppl might be confused because the meaning of course:view would be changed completely.

        Show
        Petr Škoda added a comment - Tn theory yes, but it would make the upgrade a lot more harder and I thought ppl might be confused because the meaning of course:view would be changed completely.
        Hide
        Martin Dougiamas added a comment -

        Updated the title of this bug to reflect current status (see parent issue for patch)

        Show
        Martin Dougiamas added a comment - Updated the title of this bug to reflect current status (see parent issue for patch)
        Hide
        Petr Škoda added a comment -

        done

        Show
        Petr Škoda added a comment - done

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: