vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r18583: LJSUP-8149: trusted users for personal j...

Committer: vsukhanov
LJSUP-8149: trusted users for personal journals.
U   trunk/cgi-bin/LJ/Entry.pm
Modified: trunk/cgi-bin/LJ/Entry.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry.pm	2011-03-16 09:23:11 UTC (rev 18582)
+++ trunk/cgi-bin/LJ/Entry.pm	2011-03-16 09:26:16 UTC (rev 18583)
@@ -871,7 +871,8 @@
     return
         $remote->{userid} == $u->{userid} ||
         $remote->{userid} == $self->posterid ||
-        $remote->can_manage($u);
+        $remote->can_manage($u) ||
+        $remote->can_sweep($u);
 }
 
 # instance method:  returns bool, if remote user can view this entry

Tags: livejournal, pm, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments