Site Manager: You are not authorized to perform this action
Posted: 25 June 2008 08:09 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  31
Joined  04-02-2008

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.

Profile
 
 
Posted: 25 June 2008 08:13 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11742
Joined  04-29-2002

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.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 26 June 2008 01:16 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  31
Joined  04-02-2008

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: 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?

Profile
 
 
Posted: 26 June 2008 04:21 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  31
Joined  04-02-2008

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.

Profile
 
 
Posted: 26 June 2008 04:34 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11742
Joined  04-29-2002

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

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 26 June 2008 05:38 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  31
Joined  04-02-2008

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

Profile
 
 
Posted: 26 June 2008 06:06 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11742
Joined  04-29-2002

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

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 02 July 2008 12:26 PM   [ Ignore ]   [ # 7 ]  
Grad Student
Rank
Total Posts:  31
Joined  04-02-2008

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?

Profile
 
 
Posted: 02 July 2008 12:30 PM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32144
Joined  05-14-2004

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!

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62686 Total Logged-in Users: 41
Total Topics: 77249 Total Anonymous Users: 30
Total Replies: 417000 Total Guests: 257
Total Posts: 494249    
Members ( View Memberlist )