How I disable private file option just for students. Teachers and admin still use this option and can upload private files.
I try to disable Private file from site administartion-> user->Defune role->studet. and disable "Manage files on own private file areas" option But this one is not working still appear an option of the Private file in the student section.
Another I try to disable Private file from site administartion-> user->Define role->authenticated the user. and disable "Manage files on own private file areas" option But this one still disappears an option of the Private file in both student and teacher section.
I found the answer here and it works!
Preventing access to Private files
- To prevent all users having access to Private files, the administrator should disable the repository in Administration>Site administration>Plugins>Repositories>Manage repositories.and in Administration>Site administration>Users>Permissions>Define Roles edit the authenticated user role and set the capabilities 'moodle/user:manageownfiles' and 'repository/user:view' to prohibit.
- If only students are to be prevented from accessing private files (but teachers etc, allowed) then a new role should be made and assigned system wide. See FAQ 6 in Repositories FAQfor more information.