Results 1 to 4 of 4

Thread: users can delete accounts contrary to role permissions via merge

  1. #1
    AndreSC's Avatar
    AndreSC is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Johannesburg, South Africa
    Posts
    27

    Default users can delete accounts contrary to role permissions via merge

    Hi

    If you set a role to disallow the deletion of accounts, when the user merges accounts SugarCRM still deletes those accounts. If you set a role to allow deleting only accounts owned by that user, the user can still delete other users accounts by merging them with their own. In a highly competitive sales environment this can be a problem.

    Is it a bug?
    Is there some kind of hack to prevent users from merging records assigned to other users with their own? - perhaps that should be a separate permission setting?

    Thanks

    Version 5.2.0k (Build 5837) Community Edition
    Last edited by AndreSC; 2009-11-22 at 05:30 PM. Reason: eroneous sentence

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

    Default Re: users can delete accounts contrary to role permissions via merge

    This does seem to be illogical and a possible bug ... ... have you reported this?

  3. #3
    AndreSC's Avatar
    AndreSC is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Johannesburg, South Africa
    Posts
    27

    Default Re: users can delete accounts contrary to role permissions via merge

    Quote Originally Posted by salesagility View Post
    This does seem to be illogical and a possible bug ... ... have you reported this?
    not yet, figured I'd approach the forum first (partly to check that I'm not being stupid or missing something obvious), but have just filed a bug ticket.

  4. #4
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: users can delete accounts contrary to role permissions via merge

    Quote Originally Posted by AndreSC View Post
    Hi

    Is there some kind of hack to prevent users from merging records assigned to other users with their own? - perhaps that should be a separate permission setting?

    Thanks

    Version 5.2.0k (Build 5837) Community Edition
    Do a logic hook on before_save, check if the action is merging, if so, check the assigned users, if they match, go ahead, otherwise halt execution.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Role Permissions for the Activities Module
    By ericwindham in forum Help
    Replies: 6
    Last Post: 2008-11-19, 08:29 PM
  2. User and role permissions
    By mrniss99 in forum Help
    Replies: 1
    Last Post: 2008-10-07, 08:27 PM
  3. Role Management - Delete Permissions
    By dekskinner in forum General Discussion
    Replies: 2
    Last Post: 2008-08-27, 01:12 PM
  4. Role Permissions
    By austints in forum Developer Help
    Replies: 0
    Last Post: 2006-06-29, 03:30 PM

Tags for this Thread

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
  •