If you allow anonymous users to upload audio any user not logged in has the same uid and can then edit the posts.

Patch adds a permission 'edit own audio' and check like story module.

CommentFileSizeAuthor
#3 audio.module_64889.patch1.29 KBdrewish
audio.module.patch.txt524 bytesekes

Comments

drewish’s picture

haven't gotten to evaluate your patch yet, but i did want to let you know that it's not a proper patch per se. it looks like you omitted some of the text from the top.

drewish’s picture

i've attached a patch that is, basically, just iskra's changes with some refactorings. could people please test out?

p.s. for patch info you might want to read this: http://drupal.org/diffandpatch

drewish’s picture

StatusFileSize
new1.29 KB

some day i'll learn not to preview...

ekes’s picture

Cheers for the link, logged for the future

drewish’s picture

iskra, did that work for you?

ekes’s picture

Yes seems to work fine

drewish’s picture

Status: Needs review » Fixed

cool, thanks for the bug report and patch. it's been applied to 4.7 and HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)