wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18065: LJSUP-7734. The role of the Super Mainta...

Committer: gprochaev
LJSUP-7734. The role of the Super Maintainer is not consistent with its rights

U   trunk/htdocs/community/moderate.bml
Modified: trunk/htdocs/community/moderate.bml
===================================================================
--- trunk/htdocs/community/moderate.bml	2011-01-20 08:14:36 UTC (rev 18064)
+++ trunk/htdocs/community/moderate.bml	2011-01-20 09:02:03 UTC (rev 18065)
@@ -45,7 +45,7 @@
         }
         my $dbcm = LJ::get_cluster_master($c);
 
-        unless (LJ::check_rel($c, $remote, 'M')) {
+        unless (LJ::check_rel($c, $remote, 'M') || ($remote && $remote->can_super_manage($c))) {
             $ret .= "<?h1 $ML{'Error'} h1?><?p " .
                 BML::ml('.error.noaccess', {'comm'=>"<?ljcomm $c->{'user'} ljcomm?>"}) . " p?>";
             return $ret;

Tags: bml, livejournal, wisest-owl
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