Moodle
  1. Moodle
  2. MDL-28656

FIle system settings need clarification

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide
      • Add the two options as above to admin>plugins>repositories>filesystem
      • Log in as a teacher to a course.
      • Try to add a course instance of a file system repo
      • Try to add your own instance via "my profile"
      Show
      Add the two options as above to admin>plugins>repositories>filesystem Log in as a teacher to a course. Try to add a course instance of a file system repo Try to add your own instance via "my profile"
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Rank:
      18313

      Description

      In the admin settings for file system repo there are the options "Allow users to add a repository instance into a course" and "allow users to add a repository instance in the user context" Both these can only be configured by admins, it says. However - I cannot work out how anyone other than admin can add a repo either to a course or for their own use. Either I have misunderstood or am missing something -in which case this needs clarification that I will happily document - or this isn't working.

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          Dongsheng, could you please comment on this?

          Show
          Michael de Raadt added a comment - Dongsheng, could you please comment on this?
          Hide
          Dongsheng Cai added a comment -

          Hello all

          File system can only be added/created by moodle admin, that means admins can add file system repo for their own use or to courses. Other users cannot perform file system repo changes.

          Show
          Dongsheng Cai added a comment - Hello all File system can only be added/created by moodle admin, that means admins can add file system repo for their own use or to courses. Other users cannot perform file system repo changes.
          Hide
          Mary Cooch added a comment -

          Hello there Dongsheng. So what is the purpose of the screenshot above then?

          Show
          Mary Cooch added a comment - Hello there Dongsheng. So what is the purpose of the screenshot above then?
          Hide
          Dongsheng Cai added a comment - - edited

          Hi Mary

          Admins are users too, it just can be done by users with admin capability, more specifically, it's moodle/site:config capability.

          Docs: http://docs.moodle.org/20/en/admin/repository/filesystem

          Show
          Dongsheng Cai added a comment - - edited Hi Mary Admins are users too, it just can be done by users with admin capability, more specifically, it's moodle/site:config capability. Docs: http://docs.moodle.org/20/en/admin/repository/filesystem
          Hide
          Mary Cooch added a comment -

          So the section that says http://docs.moodle.org/20/en/admin/repository/filesystem#Setting_up_an_individual_file_system_repository_instance
          are you saying only admins can do this?
          What I don't understand (and I wrote that documentation) is that if only admins can add file system repo then what is the use of the check boxes "allow users to add ...." Are you saying that if you do not tick those boxes then not even admins will be able to do it?

          Show
          Mary Cooch added a comment - So the section that says http://docs.moodle.org/20/en/admin/repository/filesystem#Setting_up_an_individual_file_system_repository_instance are you saying only admins can do this? What I don't understand (and I wrote that documentation) is that if only admins can add file system repo then what is the use of the check boxes "allow users to add ...." Are you saying that if you do not tick those boxes then not even admins will be able to do it?
          Hide
          Dongsheng Cai added a comment -
          • If you add one in your profile, only admin himself/herself can see the repo.
          • If you add one in the course, all course participants can see the repo.

          If you don't tick the boxes, nobody won't be able to add file system repo to course and personal contexts.

          Show
          Dongsheng Cai added a comment - If you add one in your profile, only admin himself/herself can see the repo. If you add one in the course, all course participants can see the repo. If you don't tick the boxes, nobody won't be able to add file system repo to course and personal contexts.
          Hide
          Mary Cooch added a comment -

          Ah thankyou! I will change the documentation later today. I think maybe the wording should be altered because it really does suggest that by checking those boxes you are allowing eg teachers to add a personal repository instance (and it suggests that only admins can allow them) But what it should say is that "allow users with admin capability to add a repository instance... etc"

          Show
          Mary Cooch added a comment - Ah thankyou! I will change the documentation later today. I think maybe the wording should be altered because it really does suggest that by checking those boxes you are allowing eg teachers to add a personal repository instance (and it suggests that only admins can allow them) But what it should say is that "allow users with admin capability to add a repository instance... etc"
          Hide
          Fadi Mansour added a comment -

          Is there a way for an admin to add a repository instance to another user's profile?

          I'm getting this error message when I try it:

          You can not view/edit repository instances of another user

          I'm getting this on version 2.2.5+ (I'm unsure how to change this issue to include this version).

          Show
          Fadi Mansour added a comment - Is there a way for an admin to add a repository instance to another user's profile? I'm getting this error message when I try it: You can not view/edit repository instances of another user I'm getting this on version 2.2.5+ (I'm unsure how to change this issue to include this version).
          Hide
          Mary Cooch added a comment -

          I'm coming back to this after a discussion in the French forums and I am going to suggest the wording is changed to

          • allow admins to add a repository instance to a course
            and
            *allow admins to add a repository instance for personal use

          If anyone has any comments or ideas for better phrasing please suggest before I go to engfix.

          Show
          Mary Cooch added a comment - I'm coming back to this after a discussion in the French forums and I am going to suggest the wording is changed to allow admins to add a repository instance to a course and *allow admins to add a repository instance for personal use If anyone has any comments or ideas for better phrasing please suggest before I go to engfix.
          Hide
          Helen Foster added a comment -

          It seems there is no capability for controlling adding a file system repository (only repository/filesystem:view) and so I have changed the wording to

          Allow admins to add a file system repository instance to a course (configurable only by admins)

          and

          Allow admins to add a file system repository instance for personal use (configurable only by admins)

          in the en_fix lang pack.

          Show
          Helen Foster added a comment - It seems there is no capability for controlling adding a file system repository (only repository/filesystem:view) and so I have changed the wording to Allow admins to add a file system repository instance to a course (configurable only by admins) and Allow admins to add a file system repository instance for personal use (configurable only by admins) in the en_fix lang pack.
          Hide
          Helen Foster added a comment -

          Thanks everyone for your comments. Closing as fixed in en_fix (for Moodle 2.6).

          Show
          Helen Foster added a comment - Thanks everyone for your comments. Closing as fixed in en_fix (for Moodle 2.6).

            People

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

              Dates

              • Created:
                Updated:
                Resolved: