Results 1 to 6 of 6

Thread: Users Passwords

  1. #1
    Josepha is offline Member
    Join Date
    Jul 2008
    Posts
    16

    Default Users Passwords

    HI All,

    I would like to have restrictions as an admin to my users not to have the capability to change their password. Is there a way that i can control that, i couldn't find anything related while i was creating the roles. Any help would be so appreciated. Thank you.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Users Passwords

    Hi, Josepha.

    You have to modify two core php scripts to do that:

    In modules/Users/Users/EditView.php and modules/Users/DetailView.php

    Change this line:

    PHP Code:
    if (empty($GLOBALS['sugar_config']['disc_client']) || !$GLOBALS['sugar_config']['disc_client']) { 
    To that one:
    PHP Code:
    if ((empty($GLOBALS['sugar_config']['disc_client']) || !$GLOBALS['sugar_config']['disc_client']) && is_admin($current_user)) { 

    Cheers.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    Josepha is offline Member
    Join Date
    Jul 2008
    Posts
    16

    Default Re: Users Passwords

    Andre',

    Thank you so much for your reply i really apprecaite it. Now i can be sure that no users will be able to change their password on their own. Thank you.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Users Passwords

    Just wonder Josepha,

    Do they have the ability to change their password elsewhere instead? If not, how are passwords dealt with and controlled at your business. Kind of interested to hear.

    Thanks!

  5. #5
    Josepha is offline Member
    Join Date
    Jul 2008
    Posts
    16

    Default Re: Users Passwords

    eggsurplus,

    There is no other option for them to change the password, and i can control their passwords from the admin account very easily. Thank you.

  6. #6
    klaric is offline Member
    Join Date
    Aug 2010
    Posts
    10

    Default Re: Users Passwords

    Just following up on passwords without having to create a new thread. I've installed Sugar 6.0 , is there a way to resend a password for created account? I've created an account for user and sent him the login credentials on the wrong e-mail.

    thanks for your answer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-05-29, 11:51 AM
  2. Sugar 5.0.0 / Sugar Forums 5.0.0 Extension Query Errors
    By benk in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2008-05-13, 03:44 PM
  3. Many-to-many relation (Subpanel Access -> Users)
    By manacr in forum Developer Help
    Replies: 1
    Last Post: 2008-03-06, 06:16 AM
  4. AJAX not working on Sugar v4.0.1!
    By gosugar in forum Help
    Replies: 11
    Last Post: 2006-07-31, 06:02 PM
  5. Users unnable to modify their own passwords
    By jon_d_wilkinson in forum General Discussion
    Replies: 0
    Last Post: 2005-12-21, 04:41 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
  •