[dw-free] change protocol so all free users can post polls into paid comms
[commit: http://hg.dwscoalition.org/dw-free/rev/d2865ddc2aeb]
http://bugs.dwscoalition.org/show_bug.cgi?id=1420
Allow free users to post polls to paid communities>
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1420
Allow free users to post polls to paid communities>
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/ljprotocol.pl
-------------------------------------------------------------------------------- diff -r 429488b55141 -r d2865ddc2aeb cgi-bin/ljprotocol.pl --- a/cgi-bin/ljprotocol.pl Mon Jul 13 21:06:48 2009 +0000 +++ b/cgi-bin/ljprotocol.pl Mon Jul 13 23:12:56 2009 +0000 @@ -1175,8 +1175,7 @@ sub postevent return fail($err,301,"Your account type doesn't permit creating polls.") unless (LJ::get_cap($u, "makepoll") || ($uowner->{'journaltype'} eq "C" - && LJ::get_cap($uowner, "makepoll") - && LJ::can_manage_other($u, $uowner))); + && LJ::get_cap($uowner, "makepoll"))); my $error = ""; @polls = LJ::Poll->new_from_html(\$event, \$error, { --------------------------------------------------------------------------------