Hi Developers or Moodle experts,
I am having a problem with some of the repositories in moodle 2.2. For some
reason, Course creators and other users cant see the upload a file repository in the
file picker. This means a file cannot be uploaded at all. I went to Site Administration
>Plugins>Repositories>Manage Repositories and chose "enabled and visible"
option for upload a file repository, it still didn't work. Then I went to Site Administration
>Users >Permissions>Define Roles>Course Creator and i didnt see the Repository:
Upload a file there not to even talk of giving the permission to view it in the file
Please someone help me. This is urgent. Thank you
Ok I haven't thought much about this -this is just off the top of my head as I should be somewhere else but got distracted Course creators only create courses -when they go in to edit them they become teachers, so you should be checking teachers are able to use the upload file repository. Are they able to do this or is this a problem for all your users? I will take a closer look at your post and screenshots later.
EDIT: Did a quick check and for My Course creator role they DO have repository/upload:view in their list, although it is not set. Have any of the settings been changed? What if you click the "reset to defaults" button?
Yes it is a problem for all users. What do you think may be the problem. I noticed that the version isn't the problem cos i installed the same thing on another server and it works fine.
I actually migrated from my old moodle server to a new one and upgraded on the new server from 1.9.11 to 2.2.1. Thats when it started having this upload problem.
I used the reset to defaults button. But it is still the same problem. Please help me
As I understand it, all permission are based off the authenticated users role. If the access to the thing in question is blocked at that level, then it must be specifically granted in all other roles for which you wish to allow it.
We are having the same problem. In our 2.1 version of Moodle I had taken the repository permissions away from the authenticated user, then gave them specifically to the roles I wanted to make it available to (teachers and up) - effectively blocking students from getting in there.
However, after upgrading to 2.2.1, our teachers were no longer able to access the file system repository. The only way I had to resolve this was to give access back to the authenticated user, but of course now students can see the repository in the file picker.
I haven't reported it as a bug yet because there are couple newer builds out there than the one I installed, but it sounds now like perhaps we should report it.
You were able to at least the Repository:Upload a file capability. But in my own case, i can't even see that capability at all not to talk of allowing specific users permission to use it.
Thanks for your help. I am grateful Mary and Melinda. But i am not sure this is a bug. I tried to install a fresh copy on a different machine and it works well with the upload a file capability showing but what i dont get is why it is having this problem on the other server.