How can I make a files for teacher(not student) in a same folder?

How can I make a files for teacher(not student) in a same folder?

ved Kim Diana -
Antal besvarelser: 2

Good day,

I have seen this from moodle websites. it is very good function  which is : 

Using one folder resource, and show different directory to student and teacher.


For students, 

they can see only 'student' sub folder.


For teacher

they can see 'student' and 'teacher' sub folders.


I have check 'editing' and research google, but I couldn't find a way to do.


Please advise me if you know any solution.

Thanks


Regards

Gennemsnitsbedømmelse: -
I svar til Kim Diana

Re: How can I make a files for teacher(not student) in a same folder?

ved Colin Fraser -
Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Testers

I think what you are talking about is a function of Roles. You really need to understand how the Roles work, for example, Administrators can go anywhere, see and do anything, but everyone else can go, see and do only what the Role they hold allows them to go, see and do. Roles have a part to play in the context of the Role, which is why you DO NOT assign Roles in the Front Page, except for Admins and Managers. I do not want my Science Teacher creating Courses in English, for example, only in the Science Category. The Role is assigned there, in the Science Category. I want Maths teachers teaching Maths, but not teaching English, so they are not a Teacher in English Category. 

Same thing for Students. If some things are hidden resources, then a Teacher can see them, but a Student cannot. The Roles and Permissions documentation explains this clearly. There is a lot of reading to do, but it is worthwhile.

I svar til Colin Fraser

Re: How can I make a files for teacher(not student) in a same folder?

ved Howard Miller -
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers

Even then... I can't think you can achieve this in the same folder. 

The simplest way is just to make a separate folder resource and then hide it. That way only teachers will be able to see it.