Control panel site selection menu unavailable unless user has regular role with site permissions

Description

The control panel site selection menu only appears when the user is assigned a Regular Role that contains an "Access in Control Panel" permission. If the user does not have such a permission, the site selection menu will be replaced with a heading that says [User]'s Personal Site (clicking it will expand/minimize the menu, not provide a selection of sites).

A workaround for this issue used to exist where the user could click the Sites link in control panel and select the desired site, which would navigate the user to that site and simultaneously make the site selection menu visible, but this capability was removed during a recent bug fix (the user now gets an error message after clicking on the site if he/she does not have the View permission for Site Settings).

1.) Add a User
2.) Add a Site
3.) Add a Site Role
4.) Add a Regular Role
5.) Assign the test user to the site
6.) Assign the regular role to the test user
7.) Assign the site role to the test user under the test site
8.) Sign in as the test user
9.) Navigate to control panel
10.) Assert the control panel site selection menu (it will be set to the test user's personal site with no way to change it)
11.) Sign in as the SA user
12.) Define permissions for the site role
13.) Grant the Control Panel: Site >> Web Content >> Access in Control Panel and View permissions to the site role
14.) Repeat steps 8 - 11
15.) Define permissions for the regular role
16.) Grant the Control Panel: Site >> Web Content >> Access in Control Panel and View permissions to the regular role
17.) Sign in as the test user
18.) Navigate to control panel
19.) Assert the control panel site menu (the site selection menu will be available)

Environment

Tomcat 7.0 + MySQL 5. 6.1.x Git ID: 20a821bb5d973c6eaab4786070241bf2d929fe1a. Tomcat 7.0 + MySQL 5. 6.2.x Git ID: 3b7823d386c28d7d8eb3d07dc1acb81c975cc40b.

Attachments

1

Activity

Show:

Cynthia Wilburn February 24, 2012 at 3:24 PM

Removing 6.1.1 CE GA2 from fixed-in. We are selecting the GA2 candidates and will re-add this upon approval from product management.

Charles Austin February 2, 2012 at 11:02 AM

PASSED Manual Testing following steps in description.

Tomcat 7.0 + MySQL 5. 6.1.x Git ID: 56be9d3cb2e002cf45ac73e78dc65cafa55979a1.
Tomcat 7.0 + MySQL 5. 6.2.x Git ID: e57d22a40239193a294523f9380c768470dbbd3e.

Igor Beslic February 2, 2012 at 6:00 AM

Issue is no longer reproducable in current git trunk.

Igor Beslic January 30, 2012 at 8:58 AM

Recreated in current git trunk

Charles Austin January 25, 2012 at 9:46 AM

Uploading an image that illustrates a use case. The red overlay covers what used to be the workaround for this issue.

Fixed

Details

Assignee

Reporter

Epic/Theme

Fix Priority

4

Components

Priority

Zendesk Support

Created January 24, 2012 at 5:58 PM
Updated June 24, 2023 at 3:54 PM
Resolved March 12, 2012 at 2:28 PM
Loading...