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