Hi,
I want to create a role, in which user will be able to edit only his activity not other. Please suggest what permission do i need to select for that role.
Thanks in advance.
I understand student can not add an activity. However, i want to create a role which will have permission to add/edit activities. New role's user will be able to edit only his own activities. Please suggest.
Thanks
Thanks
Now I better understand. Essentially, you want a "teacher" role, however, you want teachers only to be able to edit their own work. Interesting question. I am not sure why, but you have your reasons. Also, I can't think of any solution except to explore "roles" setting. Perhaps someone else will know.
I am pretty confident, that this is not possible. Creating or editing abilities is only being controlled by the capability moodle/course:manageactivities. A role has this capability in course context or not and thus can edit activities or not.
The data which user added an activity is not even recorded somewhere AFAIK (except logs), so it would be very tricky and/or would require a big development effort including deeper changes to the Moodle core code to realize such a feature.
The data which user added an activity is not even recorded somewhere AFAIK (except logs), so it would be very tricky and/or would require a big development effort including deeper changes to the Moodle core code to realize such a feature.