It is possible for a user with appropriate permissions, to manually submit a (properly urlencoded) email address to invite/delete/<email>. invite_delete() does NO checking if the associated user is a registered one or not. Deletion should ONLY be possible if the user is still not registered (panding/expired invitation), or the appropriate permission has been given to delete registered users (code>invite_allow_join_delete variable). This patch adds the required permission checks.
--
Stefan Kudwien
www.unleashedmind.com
| Comment | File | Size | Author |
|---|---|---|---|
| invite_delete.patch | 804 bytes | smk-ka |
Comments
Comment #1
AjK commentedHey, Stefan, I see you have a CVS account on Drupal already. Would you like to be a co-maintainer of the invite module?
Comment #2
smk-ka commentedSure. I am currently working on a large scale community project, but I can spend some extra time here.
Comment #3
AjK commentedHi, I've added you in. Not expecting anything big (unless you want to) just since you're an active developer it makes sense to just give you direct access to fix bugs as you see fit. Thanks :)
Comment #4
smk-ka commentedCommited slightly changed version and backported to DRUPAL-4-7.
Comment #5
(not verified) commented