Results 1 to 5 of 5

Thread: How to prevent users from seeing other users details

  1. #1
    up4auction is offline Junior Member
    Join Date
    Nov 2009
    Posts
    3

    Default How to prevent users from seeing other users details

    I am hoping someone can help. I have CE 5.2 and am trying to set up so that each user cannot see the other users. I have set up Roles and prevented them from seeing other contacts or tasks so that all they can access is their own. However they can still access the employees list and can assign tasks to other users. Ideally I want each user to appear to be the only one using the system if that makes sense...thanks

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: How to prevent users from seeing other users details

    Have a look at the teams modules in SugarForge http://www.sugarforge.org/projects/securitysuite/

  3. #3
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: How to prevent users from seeing other users details

    Yes you need a teams module to limit access to records but Teams alone will not prevent one user from seeing the others in the assigned to field etc.

    Then remove the assigned_user field from all editviews and create a before_save logic hook on all modules that contain this:
    PHP Code:
    global $current_user;
    $bean->assigned_user_id $current_user->id
    If you are new to logic hooks there is a tool in my signature that can help you create it.

    Then users will never see the of users in the EditView's and all records will be assigned to the person that creates them.

    M
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

  4. #4
    up4auction is offline Junior Member
    Join Date
    Nov 2009
    Posts
    3

    Default Re: How to prevent users from seeing other users details

    Thanks for the help. I am trying to install the teams module among others but I am having trouble. I have sugar on shared web hosting and Im not getting much support from my web host. I have been waiting days to get replies from them. Initially I had no save.path in php.ini. Their solution was to create a php.ini file and put it in www directory on my hosting a/c. Now I am having issues with memory_limit and max_file_upload.

    I have added these to the php.ini I created but nothing. I sent a request to them a few days ago to see if they need to restart apache or if it is done automatically when changes are made. Still no answer so I still can't add modules to sugar.

    Long story I know but if they come back and say that apache has been restarted what now????

    Thanks for your help so far really appreciated.

  5. #5
    up4auction is offline Junior Member
    Join Date
    Nov 2009
    Posts
    3

    Default Re: How to prevent users from seeing other users details

    Don't worry I finally got it sorted out. Dam shared hosting. Considering changing to a VPS any recommendations??

    Thanks for your help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. prevent some users to edit a field
    By kinshibuya in forum Developer Help
    Replies: 8
    Last Post: 2009-06-14, 12:54 PM
  2. How to prevent admin from creating 'n' number of users?
    By rajesh22 in forum Developer Help
    Replies: 3
    Last Post: 2008-09-26, 04:31 AM
  3. Prevent users from assigning opportunities
    By BrandonWillmore in forum Help
    Replies: 1
    Last Post: 2008-06-03, 02:18 PM
  4. Replies: 2
    Last Post: 2007-09-27, 02:12 PM
  5. Replies: 3
    Last Post: 2007-04-16, 02:01 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
  •