vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r11066: LJSUP-9956: For PR priv we should displa...

Committer: vsukhanov
LJSUP-9956: For PR priv we should display User and Mains fields
U   trunk/htdocs/admin/sendmail/send.bml
Modified: trunk/htdocs/admin/sendmail/send.bml
===================================================================
--- trunk/htdocs/admin/sendmail/send.bml	2011-10-03 09:29:23 UTC (rev 11065)
+++ trunk/htdocs/admin/sendmail/send.bml	2011-10-03 09:33:05 UTC (rev 11066)
@@ -156,7 +156,7 @@
         # Since we expose the address we'd be sending to
         # don't let them mail by user or community maints
         # if they couldn't go look it up themselves
-        if (LJ::check_priv($remote, 'finduser')) {
+        if (LJ::check_priv($remote, 'finduser') || LJ::check_priv($remote, "siteadmin", "pr")) {
             $body .= "<label for='user'>User:</label></td><td>";
 
             my $user = $edit_mode == 1 ? $POST{'user'} : $GET{'user'};

Tags: bml, ljcom, vadvs
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