Committer: azateev
LJSUP-12033 Add priv for viewing paidsummaryU trunk/htdocs/admin/accounts/paidsummary.bml
Modified: trunk/htdocs/admin/accounts/paidsummary.bml =================================================================== --- trunk/htdocs/admin/accounts/paidsummary.bml 2012-05-02 13:08:52 UTC (rev 11866) +++ trunk/htdocs/admin/accounts/paidsummary.bml 2012-05-02 13:52:01 UTC (rev 11867) @@ -14,7 +14,8 @@ return "You must first <a href=\"/login.bml?ret=1\">log in</a>." unless $remote; return LJ::no_access_error("You don't have access to see this.", "moneyview", '*') - unless LJ::remote_has_priv($remote, "moneyview") || $LJ::IS_DEV_SERVER; + unless LJ::check_priv($remote, 'moneyview') || + LJ::check_priv($remote, 'shopadmin', 'reports') || $LJ::IS_DEV_SERVER; # Try slow role, falling back to slave, then master (eww) my $dbh = LJ::get_dbh("slow", "slave", "master")