Results 1 to 7 of 7

Thread: Knowldge base admin

  1. #1
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Knowldge base admin

    Hi,

    is there any way to give a non-admin user the "Knowledge Base Admin" permission ?

    Thanks

  2. #2
    dusker is offline Senior Member
    Join Date
    Nov 2008
    Posts
    31

    Default Re: Knowldge base admin

    take a look at the roles. you can create a role that would give user administrative rights for only knowledge base module, and standard (non-admin) rights for all others

  3. #3
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: Knowldge base admin

    Quote Originally Posted by dusker
    take a look at the roles. you can create a role that would give user administrative rights for only knowledge base module, and standard (non-admin) rights for all others
    I have tried but it doesn't work.
    The problem is that the "Knowledge Base Admin" Link doesn’t appear on the left bar of the Knowledge Base module even if I give the user the administrative rights for the module.

  4. #4
    dusker is offline Senior Member
    Join Date
    Nov 2008
    Posts
    31

    Default Re: Knowldge base admin

    strange. what version of sugar?
    i have 5.1.0 here and i can go to admin>role management>create a role
    then you'll have a table of modules and roles, and in usertype you can select admin for every module, even for knowledgebase.

  5. #5
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: Knowldge base admin

    Quote Originally Posted by dusker
    strange. what version of sugar?
    i have 5.1.0 here and i can go to admin>role management>create a role
    then you'll have a table of modules and roles, and in usertype you can select admin for every module, even for knowledgebase.
    I'm using SugarCRM Professional 5.1.0b .
    I can select "Admin" as User Type, but it doesn't make the "Knowledge Base Admin" ShortCut appear on the leftside bar of the module.

  6. #6
    dusker is offline Senior Member
    Join Date
    Nov 2008
    Posts
    31

    Default Re: Knowldge base admin

    hmm, strange, i don't have time right now to test this out but i believe you.
    hope there's someone else here that can help you out.

  7. #7
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: Knowldge base admin

    OK, I've found the solution.

    Currently the Sugar PRO "Knowledge Base" Module allow only the Sugar Global Administrator Users to access the "Knowledge Base Admin" Area, so only Global Admins can add new tags, move articles and so on.

    If anyone is interested to change this behaviour and allow the users having the "User Type" set to "Admin" to access the "Knowledge Base Admin" Area, here's a fix tested on SugarPRO 5.1.0 b:

    1- File '<sugar_basedir>/modules/KBDocuments/Menu.php' - line 53 :

    replace
    PHP Code:
    if(is_admin($current_user)) { 
    with
    PHP Code:
    if(is_admin($current_user) || $_SESSION['ACL'][$current_user->id]['KBDocuments']['module']['admin']['aclaccess'] == ACL_ALLOW_ADMIN){ 
    2- File '<sugar_basedir>/modules/KBDocuments/KBAdminView.php' - line 57 :

    replace
    PHP Code:
    if(!is_admin($current_user)) { 
    with
    PHP Code:
    if(!is_admin($current_user) && $_SESSION['ACL'][$current_user->id]['KBDocuments']['module']['admin']['aclaccess'] != ACL_ALLOW_ADMIN){ 
    Last edited by kenshiro; 2008-11-27 at 06:10 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do I reset the admin password?
    By clint in forum Help
    Replies: 11
    Last Post: 2011-09-30, 06:13 AM
  2. Replies: 2
    Last Post: 2010-08-13, 06:44 AM
  3. customized admin account
    By elvinjoe in forum Developer Help
    Replies: 1
    Last Post: 2008-02-25, 11:02 PM
  4. enabling the admin
    By sudheerbattula in forum Help
    Replies: 1
    Last Post: 2007-06-18, 04:53 PM
  5. Replies: 4
    Last Post: 2006-10-06, 05:12 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
  •