Anonymous users can edit anonymously posted audio

ekes - May 22, 2006 - 11:56
Project:Audio
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

AttachmentSize
audio.module.patch.txt524 bytes

#1

drewish - May 22, 2006 - 23:52

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.

#2

drewish - May 23, 2006 - 00:05

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

#3

drewish - May 23, 2006 - 00:06

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

AttachmentSize
audio.module_64889.patch 1.29 KB

#4

ekes - May 23, 2006 - 15:20

Cheers for the link, logged for the future

#5

drewish - May 23, 2006 - 17:15

iskra, did that work for you?

#6

ekes - May 25, 2006 - 07:50

Yes seems to work fine

#7

drewish - May 25, 2006 - 15:34
Status:needs review» fixed

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

#8

Anonymous - June 8, 2006 - 15:45
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.