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

[livejournal] r18045: LJSUP-7729. The role of the Maintainer i...

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

U   trunk/htdocs/accountstatus.bml
Modified: trunk/htdocs/accountstatus.bml
===================================================================
--- trunk/htdocs/accountstatus.bml	2011-01-18 10:40:59 UTC (rev 18044)
+++ trunk/htdocs/accountstatus.bml	2011-01-18 10:50:49 UTC (rev 18045)
@@ -12,7 +12,11 @@
     return "<?needlogin?>" unless $remote;
 
     my $authas = $GET{'authas'} || $remote->{'user'};
+    my %type = ();
     my $u = LJ::get_authas_user($authas);
+    %type = ( type => 'S' ) if $u->is_community;
+    # Need to check supermaintainer rights for community
+    $u = LJ::get_authas_user($authas, \%type);
     return LJ::bad_input($ML{'error.invalidauth'})
         unless $u;
 

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