Results 1 to 2 of 2

Thread: "Add Dashlet" Popup with ACL?

  1. #1
    madmat is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    164

    Default "Add Dashlet" Popup with ACL?

    Hi folks,

    is it possible to tweak the popup which shows on the Home screen when clicking "Add Dashlet", so it´s respecting the access rights a user has?
    if his role denies access to opportunities I dont want the "My top ten opportunities" dashlet in the list.

    So far I´ve tried :
    PHP Code:
    if(ACLController::checkAccess('Opportunities''list'true
    Maybe I´m working on the wrong file, which one´s generating the popup window?

  2. #2
    bembo99 is offline Member
    Join Date
    Feb 2011
    Location
    Shanghai
    Posts
    16

    Default Re: "Add Dashlet" Popup with ACL?

    Know this is an old post, but I'd love to know how to solve this as well (in any sugar version).

    Currently, I just run the ACL check within the Dashlet itself, so if the user does not have access, the custom sql is not built/executed. Doesn't stop the user from adding the useless dashlet though.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. "Select All" in Selection Popup Window
    By kenshiro in forum Developer Help
    Replies: 12
    Last Post: 2010-05-25, 11:54 AM
  2. Changing Account "popup" size in Cases
    By protrex in forum Developer Help
    Replies: 4
    Last Post: 2008-05-22, 08:45 PM
  3. disabling "record new call?" option in calls popup?
    By netron in forum Developer Help
    Replies: 0
    Last Post: 2008-01-31, 02:49 PM
  4. Replies: 0
    Last Post: 2008-01-31, 11:21 AM
  5. Replies: 2
    Last Post: 2007-07-25, 04:15 PM

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
  •