[dw-free] Can't edit tags on community entries made by deleted users
[commit: http://hg.dwscoalition.org/dw-free/rev/3bf819c640a2]
http://bugs.dwscoalition.org/show_bug.cgi?id=2637
Remove tests that were preventing tags from being edited on community
entries posted by a user whose account was deleted.
Patch by
the_wanlorn.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2637
Remove tests that were preventing tags from being edited on community
entries posted by a user whose account was deleted.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/edittags.bml
-------------------------------------------------------------------------------- diff -r 59641e57d208 -r 3bf819c640a2 htdocs/edittags.bml --- a/htdocs/edittags.bml Thu Jun 10 07:45:01 2010 -0500 +++ b/htdocs/edittags.bml Thu Jun 10 08:06:16 2010 -0500 @@ -52,16 +52,6 @@ body<= or die "Unable to create entry object.\n"; return $err->( $ML{'.invalid.notauthorized'} ) unless $ent->visible_to( $remote ); - - # poster must be visible too - if ($logrow->{posterid} != $u->{userid}) { - my $pu = LJ::load_userid($logrow->{posterid}); - - unless ($remote->can_manage($u) && !$pu->is_suspended) { - return $err->($ML{'.readonly.poster'}) if $pu->is_readonly; - return $err->($ML{'.invalid.journal'}) unless $pu->is_visible; - } - } if (LJ::did_post()) { return $err->($ML{'.invalid.link'}) --------------------------------------------------------------------------------