ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Site Manager: You are not authorized to perform this action

June 25, 2008 10:09pm

Subscribe [2]
  • #1 / Jun 25, 2008 10:09pm

    Dan Lewis

    24 posts

    Let’s say I have Site Manager with Site A and Site B in place.  I try to assign an user to a member group to have control panel access to Site B only.  The system folder is located under Site A path.  I try to log on but receive “You are not authorized to perform this action”.  To get around that, I have to grant the user access to Site A and from there, the user can choose Site B and to perform accordingly. 

    This is strange behavior and is this possible for the user to jump to Site B control panel directly.  Also to hide the Site tab.  There is no point for him to see the list of all sites.  Imagine I have number of sites and I want to grant access for each user to his own individual site. 

    Thanks.

  • #2 / Jun 25, 2008 10:13pm

    Sue Crocker

    26054 posts

    Dan, have you seen this EEKB article:

    Troubleshooting MSM Login Issues

    See if this helps any.

    I’ve seen some extensions that hide parts of the CP, but I don’t have a direct link.

  • #3 / Jun 26, 2008 3:16pm

    Dan Lewis

    24 posts

    That article doesn’t quite cover my situation.  It seems it has something to do with caching.

    Here’s my observation:

    Site A (default blue color) is the built-in MSM site. This site cannot be removed. Backend URL is: http://www.sitea.com/system.

    Site B is my 2nd site (Purple color theme).  Use “Masking Access to the Control Panel” technique as stated in the knowledge base.  User B is granted access to site B backend panel. Backend URL is:www.siteB.com/admin.php

    User B visits its own backend URL.  It appears in default blue color.  Login and receive the “not authorized” messsage.

    Superuser login.  Use the Site tab to point to Site B.  Log out.  User B re-visits backend URL again.  The panel appears in purple color this time.  Login successfully.

    It seems MSM login is confused about Site access and is determined from last site session.  Is there a way to force login explicitly to a specific site.

    Alternatively, superuser can grant User B to access Site A’s control panel (without providing any actual CP control of course).  User B can then login (under default blue color panel) and then switch to Site B himself.  But that means I have to expose Site A to User B.

    Any idea?

  • #4 / Jun 26, 2008 6:21pm

    Dan Lewis

    24 posts

    Let’s me re-phrase my problem.  I experienced the same issue as this user’s comment in this link

    But unfortunately, using admin.php doesn’t seem to resolve the issue.

    —-

    Just wanted to point out that for those users who are using the Multiple Site Manager (MSM) that if users do not have access to reach the control panel on your base site, than they won’t be able to access the CP of the site in which they intended to access.

    In part of what helped me solve this issue is using this admin.php method and placing it directly into the specific site itself.

  • #5 / Jun 26, 2008 6:34pm

    Sue Crocker

    26054 posts

    Dan, so is everything working as it should, or are you still having problems?

  • #6 / Jun 26, 2008 7:38pm

    Dan Lewis

    24 posts

    I still experience the same problem with or without the admin.php.  Any other suggestion?

  • #7 / Jun 26, 2008 8:06pm

    Sue Crocker

    26054 posts

    My test users all had access to the main site, I’d have to create a new group and fiddle some.

  • #8 / Jul 02, 2008 2:26pm

    Dan Lewis

    24 posts

    Does it imply this is by design that users must be granted access to the base site before they can reach to their separate sites.

    It also brings up another question that may be Site Manager is not suitable for what I am intending it to do.

    My initial plan is to use it to manage all my client sites so I just need to manage one instance of EE files.  However, each client site is totally independent of the others.  They don’t share anything in common at all.  Sound like Site Manager is more suitable to manage sites that are related…. 

    For my purpose, is it better off to install one instance of EE for each client instead?

  • #9 / Jul 02, 2008 2:30pm

    Lisa Wess

    20502 posts

    Hi, Dan,

    Indeed - what you are doing is actually against the license as you may not use ExpressionEngine to host Sites for third-parties.  The Multiple Site Manager is geared at sites like ours that have multiple related Sites.  Other examples might be a hotel chain, etc.

    You will need a full license/installation for each client.

    If you have any other questions, please email sales.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases