Results 1 to 3 of 3

Thread: My Portals - only admin can access

  1. #1
    jbalyo's Avatar
    jbalyo is offline Senior Member
    Join Date
    Nov 2008
    Posts
    27

    Question My Portals - only admin can access

    Please help - For some reason, only the administrator can enter the My Portals view. All other users see this:

    Warning: You do not have permission to access this module.

    I am on Sugar Professional 5.2.0a

    I do not see anything in the Role Manger that would allow me to give or revoke access to the My Portal tab.

    I have set two global links in My Portal, but nobody else can access that module. What's gone wrong?

    Any help or ideas are appreciated.

    Thanks,
    James

  2. #2
    matthew's Avatar
    matthew is offline Sugar Team Member
    Join Date
    Jul 2005
    Posts
    533

    Default Re: My Portals - only admin can access

    I recommend doing a backtrace.

    It looks like the error is coming from include/MVC/View/views/view.noaccess.php

    Altering it to do a backtrace will enable to chase the initial call that's causing it. Also, checkout xdebug for debugging

    PHP Code:
    <?php
    /*********************************************************************************
     * The contents of this file are subject to
     * *******************************************************************************/
    require_once('include/vCard.php');

    class 
    ViewNoaccess extends SugarView{
        var 
    $type ='noaccess';
        function 
    ViewNoaccess(){
             
    parent::SugarView();
         }
         
        function 
    display(){

            echo 
    '<p class="error">Warning: You do not have permission to access this module.</p>';
            
    $trace debug_backtrace();
            print 
    "<pre>"print_r($trace); print "</pre>";die();
         }
    }
    ?>
    PS: you can't run w/ this code in production btw.

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  3. #3
    jbalyo's Avatar
    jbalyo is offline Senior Member
    Join Date
    Nov 2008
    Posts
    27

    Default Re: My Portals - only admin can access

    Well, it's a bug. A few of my active users have become "corrupted" somehow, and Documents and a bunch of other things just do not appear in their privilege matrix when you log into their account (I can see it from admin, and even change it) ... if I duplicate a corrupted user into a new account, it solves the problem... but then that salesperson loses all his attached data.... not good.

    This is an ugly bug. I don't even know how to log it as a bug, though, since it seems to happen randomly to my users (and sometimes to modules as well).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can't access to admin account
    By mariodelzo in forum Help
    Replies: 4
    Last Post: 2008-03-24, 04:11 PM
  2. How to manage access of portals?
    By jmaier in forum Help
    Replies: 0
    Last Post: 2007-08-28, 01:52 PM
  3. Lost admin access
    By jhardebeck in forum Help
    Replies: 3
    Last Post: 2006-09-13, 05:50 PM
  4. Replies: 0
    Last Post: 2006-06-21, 02:26 AM
  5. Don't have permission to access portals
    By jjosey in forum Help
    Replies: 0
    Last Post: 2005-08-19, 02:13 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
  •