Results 1 to 8 of 8

Thread: Need help to restrict number of users creation by Admin

  1. #1
    saas is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Need help to restrict number of users creation by Admin

    Hi All,
    I m new to sugar. I searched on forum to know if this query is already asked, but could not get the same. Please excuse me if this is already discussed.

    My requirement is that I am implementing the CRM solution for one of my client. I would like to restrict the maximum number of users that client can create. Hence, I plan to create an admin profile by which client would login and set-up his CRM system. But should be able to create maximum of users that I have configured.

    If I create another user with Admin priviledge, then, Is this possible to configure that that this new Admin can create only a certain maximum number of users that I configure. (For example, max 20 users creation are allowed!)

    In addition to above, By default, an Admin profile gets access to all administrative work. Is this possible to configure a new admin profile who has access to only few administrative works like user creation, fields customization etc. (However, the super-admin will have access to all administrative work as usual.)

    I am looking for these, in open source edition of sugarcrm. Please help. I can do little bit of coding (if required) if some one can point me in right direction.

    Thanks a lot in advance.

  2. #2
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Need help to restrict number of users creation by Admin

    Hi
    create different type of role and assign your user under this role.
    you can set all the permission to user's via this role.

  3. #3
    Hardwares Guest

    Default Re: Need help to restrict number of users creation by Admin

    Who should I contact if I need further help or information with my registration?

  4. #4
    crmbalah is offline A Prolific Poster
    Join Date
    Mar 2009
    Location
    chennai
    Posts
    418

    Default Re: Need help to restrict number of users creation by Admin

    hi

    try to contact admin user only. admin user only have full permission.

  5. #5
    saas is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Re: Need help to restrict number of users creation by Admin

    Thanks crmbalah

    Hi
    create different type of role and assign your user under this role.
    you can set all the permission to user's via this role.
    However, I found that the permissions that I can set are for modules only. These are permission settings for end users of crm system. I did not find any option to set the permissions for Admin user.

    To be more precise, I am implementing CRM solution for one of my client's business. Application will be hosted on my web server, but will be accessed by client. I need to provide admin access to client so that he can set-up users, configure other details as per his organization's need etc. If I create another role say subadmin then I would like to put certain limitation to administration works that subadmin can perform. One of the major restriction that I need to impose is that subadmin should not be able to create more than the number of users that I specified. For example, if I specify that maximum of 20 users creation are allowed, then subadmin should not be able to create more than 20 users.

    Please inform if there is any option to configure permissions for Admin priviledges?

    Thanks in advance.

  6. #6
    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: Need help to restrict number of users creation by Admin

    Hi saas

    You should copy the script modules/Users/EditView.php to custom/modules/Users/EditView.php and add some code which will check how many users had been created and die an error message if this number exceeded the maximum allowed users.

    Let me know if you need help implementing that.

    Best regards
    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.

  7. #7
    saas is offline Member
    Join Date
    Jul 2009
    Posts
    7

    Default Re: Need help to restrict number of users creation by Admin

    Hi andopes,

    Many Thanks to point me to direction.

    Appreciate if you can please provide some more details, like

    >How to initially configure maximum number of users creation that is allowed when creating a new Admin profile?

    >How to find (in program) that how many number of users have already been created by a particular Admin user, before issuing a die command?

    Thanks in advance..

  8. #8
    phanik188 is offline Member
    Join Date
    Dec 2009
    Posts
    9

    Default Re: Need help to restrict number of users creation by Admin

    Hi,

    can you please give me insight into how can i create a role called subadmin and give the permission to perform only some of the administrative tasks.

    Thank you.
    Last edited by phanik188; 2010-04-30 at 05:30 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Number of Users
    By elvinjoe in forum General Discussion
    Replies: 3
    Last Post: 2009-03-19, 05:31 PM
  2. How to restrict users to login which is already online..
    By sujitkirve in forum Developer Help
    Replies: 2
    Last Post: 2009-03-04, 10:20 AM
  3. 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
  4. Restrict creation
    By tech in forum Help
    Replies: 3
    Last Post: 2007-04-16, 01:40 PM
  5. how restrict to show list of users ??
    By ricardo345 in forum General Discussion
    Replies: 0
    Last Post: 2006-09-23, 03:37 AM

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
  •