MoodleCloud: Deleting Old Assignments OR Authorising Teachers To Do So

MoodleCloud: Deleting Old Assignments OR Authorising Teachers To Do So

by Jason Stuart -
Number of replies: 8

Hi All, 

I have spent hours trying to find an answer to what seems a simple problem - deleting assignments so that I free up storage. 

I am using Moodle School/Cloud - and I am really only very new so if you are able to help, please keep it as simple as possible for me ;)

LOGGED in AS ADMIN:

If I go into the assignment submission itself, EDIT SUBMISSION > DELETE > SAVE is available to me but it doesnt actually delete. 

LOGGED in AS TEACHER:

The EDIT SUBMISSION option is not available within the grading submission area. 


So, the questions I have:

- Is there any obvious reason why as admin, it's not deleting properly?

- Is there any way to authorise teacher to be able to delete?

- is there any known way to mass-delete submitted files to free up space?


Thank you all in advance....

(Edited by Mary Cooch - original submission Tuesday, 6 February 2018, 12:29 PM)

Average of ratings: -
In reply to Jason Stuart

Re: Deleting Old Assignments OR Authorising Teachers To Do So

by Mary Cooch (personal account) -
Picture of Documentation writers Picture of Testers

What do you mean by "it doesn't actually delete"? What happens if you wait five minutes and return later? Is it deleted then?

To authorise teachers to delete assignments, see this old video and move forward to 1 min 25 seconds


In reply to Mary Cooch (personal account)

Re: Deleting Old Assignments OR Authorising Teachers To Do So

by Jason Stuart -

Thanks for helping Mary...

See this video for what is happening when I try to delete the file > it appears to delete but when I go back, I can still see it as an attachment. 

   

If I got to Site Admin > Server > Files, I can see loads of attachments taking up space - many of these from accounts that are now deleted. 


In reply to Jason Stuart

Re: Deleting Old Assignments OR Authorising Teachers To Do So

by Jason Stuart -

And Re: Authorising teachers, 

I had watched that video before - thank you. 

I am still unsure where abouts that option to tick is? 

> Do you have to do that for each assignment somewhere in the assignment settings? 

> Can you authorise ALL teachers in a course to be able to delete all assignments inside that course? 

> Or is there a way to authorise ALL teachers to delete ALL assignments in any course on your site? This would be my preference?

Perhaps some tick box in "permissions?"

Sorry for the questions...

In reply to Jason Stuart

Re:MoodleCLoud{ Deleting Old Assignments OR Authorising Teachers To Do So

by Mary Cooch (personal account) -
Picture of Documentation writers Picture of Testers
Re authorising teachers to delete assignments you can do it for all teachers and all assignments if you go to Site admin>Users>Define roles, click the Teacher role link, click the Edit button and then find the capability mod/assign/editanothersubmission. Tick to allow it for the teacher and save.

In response to your other question about the assignment not deleting I too found this when I tried on my MoodleCloud site just now. I suggest you look again to make sure it hasn't been deleted when cron tasks have run. (I will also test deleting assignments on a non-MoodleCloud site to rule that out - or in smile )

EDIT: I can't delete assignments either, in the same way as your video. We might need to explore this further tomorrow and see if it is a bug.

In reply to Mary Cooch (personal account)

Re:MoodleCLoud{ Deleting Old Assignments OR Authorising Teachers To Do So

by Mary Cooch (personal account) -
Picture of Documentation writers Picture of Testers

My second reply: Ok it seems that since that new capability and my video, some changes were made and now you can't delete an assignment submission without replacing it with something else. 

So edit your assignment so it allows both online text and file submissions.

Go in and delete the uploaded file and in its place, add a short sentence in the text box such as "file deleted" Save - and the uploaded file should be gone. I haven't tried it but I think it will work.

In reply to Mary Cooch (personal account)

Re:MoodleCLoud{ Deleting Old Assignments OR Authorising Teachers To Do So

by Jason Stuart -

Hi Again Mary! 

Ok, so the text submission + deleting file works.. BUT, wow, that seems like the most laborious process for what should be an elemental thing in an LMS surely? Otherwise it's an endless collection of assignments forever, no? 

Even when I delete accounts (we are a high turnover environment, using Moodle for basic purposes), any submissions still remain on file... 

How would an actual school handle 1000's of assignments per year? 

____

Re the change to teachers ability to do this, I cant find that actual option under either 'teacher' or nonediting teacher - capabilities/mod/assign:editothersubmission

Is that definitely a Moodle Cloud option to 'allow'?

See attachment...

Am I doing something wrong?


Attachment File.png
In reply to Jason Stuart

Deleting Old Assignments OR Authorising Teachers To Do So

by Mary Cooch (personal account) -
Picture of Documentation writers Picture of Testers

Ok

 (1) There are quite a few tracker issues connected to this because it's not as simple (apparently) as simply being able to delete a submission - have a read through this and its related issues when you have time MDL-37237

(2) On MoodleCloud (and in fact in any Moodle site - not just MoodleCloud)

  • Click the Site administration link
  • Click Users
  • Click Define roles
  • Click the link for Teacher
  • Click the Edit button
  • In the filter, type "editother" as in the screenshot below
  • It will display the correct capability - click to Allow it and save.


In reply to Mary Cooch (personal account)

Re: Deleting Old Assignments OR Authorising Teachers To Do So

by Jason Stuart -

Hi Mary, 

Thank you - your clear directions helped and it worked...

Annoyingly, I thought this was going to make a deletion easier - it obviously just gets us to the same point as an admin can get to - so we're gonna have do stay with the write "delete in line'' workaround?

Thank you again...

Jason