Results 1 to 3 of 3

Thread: MassUpdate only for administrator

  1. #1
    pstrosser is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Unhappy [SOLVED] MassUpdate only for administrator

    Hello,

    I try to show the massupdate form only for administrators (is_admin($current_user)). I've searched in the forum and test some methods to hide this form (in include/listview) but it doesn't work.

    Thanks for you help.

    SugarCRM 4.5.0f
    Last edited by pstrosser; 2006-12-12 at 06:30 AM.

  2. #2
    pstrosser is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Question Re: MassUpdate only for administrator

    Hi,

    Nobody could help me please ?

    Thanks a lot.

  3. #3
    pstrosser is offline Sugar Community Member
    Join Date
    Nov 2006
    Posts
    11

    Thumbs up Re: MassUpdate only for administrator

    OK, i've solved my problem : using the kbrill's answer, i've modified the include/massupdate.php file to add
    if (!is_admin($current_user)) {
    return '';
    }

    in the beginning of the getMassUpdateForm().

    Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •