Committer: gprochaev
LJSUP-7734. The role of the Super Maintainer is not consistent with its rightsU 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;