Hi,
I'd like to disable the "my private files" feature for my students.
Where is the setting hidden?
Thanks in advance!
G
Thansk Mary,
I thought were were onto something. in the list you of permissions that you led me to (thank you!) i found this entry in Repository: Private files:
Manage files on own private file area
and
Repository: Upload a file Use uploading in file picker
set them both to "prohibit" and thought I had it. Alas, it made no differences. I find this quite strange.
Any othe ideas?
Cheers,
Gilles
Maybe this is where I'm going wrong.
I thought it was a "student" account but maybe it's not. I just created the account. I went into the accounts list and selected this user. In the settings, I don't see the "type" of account.
Where do I find/set the the account type of "student" for this user?
Gilles
Ok- one step at a time:
* did you go to users>permission>define roles, choose student and then change the capability to view private files to prohibit?
* Did you then make an account and add this person into a course as a student?
* Then did you try in that course with the student login to access private files in the file picker -say from a forum post for instance, or in their own profile?
Hi Mary, Yes, I did.
1. student role defined with prohibit. set the following 3 to "prohibit"
Manage files on own private file areasmoodle/user:manageownfiles
Use uploading in file pickerrepository/upload:view
View user private filesrepository/user:view
2. acccount is enrolled in a course
3. I can still see the private file upload (see screee cap)
Any tips?
Gilles - Jiri - I have just looked at this again. What you need to do -and I should have thought it out in advance -is to create a new, system role - called something like "no private files" and then in that role disallow the user from viewing or managing their private files. Then you assign the role site wide to students and when they log in, although they can see the private files link in their naviation like in Gille's screenshot above it gives them a message as follows:
Hi,
thank you for answer but please - what do you mean by "assign the role site wide" - I have lots of studens and it is not the only role I have to manage like this. Probably it is very stupid question but I want to be sure.
And can I do the same trick for repository (I need repository for one role but only for that one and no other ... but they everyone can see that or even delete the repository)?
Or even - hide the My profile link for some users?
Thanks
Jiri
Well I have gotten this far with the permissions but having a redundant link left inside Navigation isnt really a great option.
I'm amazed that this is so difficult to achieve, the developers must have considered that for a medium to large site it would be a very bad idea to allow students to upload whatever files they wanted to the server (free hosting all round!).
The biggest selling point for Moodle 2 in my opinion is that it is properly modular, but things like this undo that good work and leave us hacking code to hide options that should be disabled through the plugins menu.
Hi Mary et al
I found this thread whilst searching for how to prevent users uploading documents.
I am very lucky to have some very kind folks host my moodle 2.x site for me for free........and I don't want to impose on their server space with students uploading whatever they choose.
So, I need to disable the abiltity for students (actually could be everyone, I guess) to upload files to My Private Files.
I tried a couple of things that were suggested to me...(I disabled Private files repository (Site Administration | Plugins | Repositories | Manage repositories the selected Disabled next to Private Files).......but that didn't work.
I also tried seeing how I can change the permission that allows Private file uploading in the Student Role course wide.....but I could not see how to do this, it says the permission is 'Not set' and my only option seems to be to change it to Allow'.
So......does the above solution still apply? ie do I have to create a new Role and assign it to the student role course wide......or is there a more intuitive way of say 'The Student Role is not allowed to do this'.
Thanks for any input....I have been pulling my hair out a bit with this today (and as the years go by, that resource is getting a bit scarce
Cheers
Jel
A couple of things were suggested to me by others....but no cigar.
I
Hi Jel. I think if you follow the instructions in my post above from - Sunday, 13 February 2011, 11:07 AM then it should do what you want to do , ie stop students being able to upload to private files. Or did you try this already?
EDIT - I just looked at the referenced tracker entries and they seem to suggest this is fixed - what version of Moodle 2.0 are you using? (mine is from before 30 March so I can't check this currently)
Hi Mary
No, I haven't tried your solution yet (I had intended to write that - sorry!).
I am using v.2.02 Build 2011022100
So I have a feeling that I too am pre-fix.
I think I will request an update and see if it works - and if not then I will try your fix.
Thanks so much for the great support you provide around here!
Jel
Hi Mary
I now have the latest build and the bug is fixed - I set the following:
Student
Prohibit - Manage files on own private file areas, View user private files, Use uploading in file picker
.....and I did the same for Authenticated user (although I am not sure why ......I think that is some kind of default role so I thought it good to restrict it in there too.......if anyone knows any reason for this to be a bad idea then please let me know
When I log in with a Test Student login, I cannot add Private files now Which is what I want.
Also, I tested setting the permission to Prevent and not Prohibit - but it didn't stop me up uploading private files as a Student......I am not sure why it behaves like this.
Now all I have to do is figure out how to fix a block as always being at the top and with no-one being able to move it..............
(oh, and just a word to anyone else testing the stopping of uploading of Private files.....as I said, using my Test Student login account I am properly prevented..but....if I use my Admin login and just change my role to Student......I am still allowed to upload Private files ie. it seems that changing role to Student when Admin, doesn't seem to fully become the Student role........can anyone shed any light on this please?)
Cheers
jel
Hello mark
can you please write here step by step How did you get to this screenshot.?
I created new role prevented moodle/user:manageownfiles and then I went to Assign System Roles and assigned a user to that role, I logged with that user but still could see the Private files.
can you let me know how did you do it?
thank you
All - remember users are students inside a course and usually just an authenticated user when on the front page or their profile page. Change it both places!
Unfortunately it is not set by default:
1) Site administration > Users > Permissions > Define roles > Identified user > Clic "Show advanced" button > moodle/user:manageownfiles = Not set
2) Site administration > Users > Permissions > Define roles > Student > Clic "Show advanced" button > moodle/user:manageownfiles = Prohibit
In the current version I am using (2.4.1) what you need to do is navigate to:
Site Admin > Users > Permissions > Define roles and edit the roles for both Student and Authenticated user with the following permissions:
To speed up the process of finding the correct permissions to edit, simply do a search/find (cntrl/cmnd f) and search for the keyword "private".
After changing the permissions for both the student user role and the authenticated user role, now my teacher role no longer has access to My Private Files. I'm assuming that it has to do with the changing of the authenticated user role. How can I make it so the teacher role still has access?