Results 1 to 2 of 2

Thread: Admin Module für normale Benutzer

  1. #1
    men
    men is offline Sugar Community Member
    Join Date
    Apr 2011
    Posts
    10

    Default Admin Module für normale Benutzer

    Hallo liebe Community, ich bins mal wieder.

    Ich habe in der Professional Edition von Sugar im Adminbereich einen Produktkatalog.
    Diesen Produktkatalog gibt es aber eben nur für Benutzer mit Admin-Rechten.
    Ich möchte aber den Produktkatalog auch für normale Benutzer ohne Admin-Rechten verfügbar machen.
    Wie kann ich hier vorgehen?

    Ps. Komischerweise kann ich den Tab gar nicht umbenennen, da der Tab bei "Tabs umbenennen" gar nicht aufgeführt wird.

  2. #2
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Admin Module für normale Benutzer

    Hello,

    Copy and paste file from modules/ProductTemplates/controller.php to custom/modules/ProductTemplates/controller.php

    Comment out following code

    PHP Code:
    if(!is_admin($GLOBALS['current_user']) && (!is_admin_for_module($GLOBALS['current_user'],'Products'))){
                
    $this->hasAccess false;
            } 
    Then, extend the menu of Products module and add a link to allow user to access Product Template(Product Catalog) module.
    Last edited by davidboris; 2011-05-04 at 05:39 AM. Reason: Wrong module mentioned
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2011-04-30, 06:28 PM
  2. Rechte Benutzer in Rollen verändern
    By mahe23 in forum Deutsche
    Replies: 5
    Last Post: 2011-03-10, 07:17 AM
  3. Benutzer anlegen als "Benutzer" ?
    By rethus in forum Deutsche
    Replies: 3
    Last Post: 2010-01-26, 07:02 PM
  4. Dokumentanzugriff für Benutzer beschränken
    By glor08 in forum Deutsche
    Replies: 7
    Last Post: 2009-08-27, 08:21 PM
  5. Replies: 0
    Last Post: 2009-03-01, 11:07 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
  •