Moodle
  1. Moodle
  2. MDL-27885

Messaging system improvements (FIXES INCLUDED) (restricted roles, site forcing course only messaging, working course only messaging, search limits)

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.3
    • Fix Version/s: DEV backlog
    • Component/s: Messages
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      17533

      Description

      Here are some improvements I've made over the latest messaging versions. It requires a version update to add a capability. It also adds a setting to allow site admins to force messaging only between users that share a course. Also, I placed a limit on the amount of people that can be returned on a messages user search of 200. All file differences are documented (except version update to allow upgrade of capabilities)

      By default all users are given unrestricted messaging rights. That assumes of course that the user can message at all. If they can message and they are unrestricted, they can message as usual. If they are a restricted role, they can message unrestricted roles, but they can't message other restricted roles. On our site, we denote our teachers on the site level as "Course Creators". They are given unrestricted status, but all other authenticated users are restricted. Then we force the course only messaging setting. This means teachers can message anyone, but students can only message their teacher.

      1. admin_settings_subsystems_diff.txt
        0.7 kB
        Matthew Davidson
      2. blocks_online_users_block_online_users_diff.txt
        1 kB
        Matthew Davidson
      3. lang_en_admin_diff.txt
        0.7 kB
        Matthew Davidson
      4. lang_en_role_diff.txt
        0.6 kB
        Matthew Davidson
      5. lib_db_access_diff.txt
        1.0 kB
        Matthew Davidson
      6. message_index_diff.txt
        0.8 kB
        Matthew Davidson
      7. message_lib_diff.txt
        4 kB
        Matthew Davidson

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          Thanks for suggesting this.

          Show
          Michael de Raadt added a comment - Thanks for suggesting this.
          Hide
          Andrew Davis added a comment -

          This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.

          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          Show
          Andrew Davis added a comment - This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment
          Hide
          Ryan Smith added a comment -

          Hopefully someone on the development team checks out these fixes and realizes how much of an improvement they make to the messaging system. The current system is really lacking good access restriction controls.

          Show
          Ryan Smith added a comment - Hopefully someone on the development team checks out these fixes and realizes how much of an improvement they make to the messaging system. The current system is really lacking good access restriction controls.

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: