-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reports view defaults to the primary site event though the primary site is not one of the options #373
Comments
How specifically did you do this? I assume you mean that you restricted a user group to editing a specific site under the Sites user permission, is that correct? I can replicate the site switcher issue so will address this bug. |
@bencroker, Yes, that is how I restricted the user to a specific site - through the Sites user permission. Thank you for looking at this. |
Thanks for the bug report. Fixed in d9c2ab7 for the next release. |
Thanks Ben! |
Released in version 2.6.0. |
@bencroker I just installed 2.6.0, and it is working great. Thank you! There is one other way where a CraftCMS user restricted to one site can view all the reports on another site: Campaign --> Reports --> Contacts Tab --> Click on a contact --> All reports are available for viewing. I understand this may not be within your scope, but I thought I would check just in case. It would be nice if the user does not have contact edit permissions that they could not click into that contact (like on the Campaign --> Contacts screen). |
The site permissions are not quite as specific as you seem to be interpreting them, however, the Campaign plugin permissions are. If a user does not have permission to “Manage contacts” then they should not be able to access the contacts. Are you seeing otherwise? |
I suspected that I may be interpreting things too narrow for your scope. Here are some screenshots. They can view the contacts on the contacts page but not edit them (because I have that permission turned off) They can view a list of contacts on the reports screen and click on an individual contact. It is on this screen that I wondered if they should be able to click into or not if they are not supposed to be able to edit a contact. They can view the individual contact's activity history on the report contacts screen. |
They cannot edit contacts, but they can view them, presumably because the “View reports” permission is enabled. |
Got it, yes. "View reports" is enabled. |
I restricted a user group to one specific site in Campaign.
The expected behavior would be for only the site that was assigned as available would show up when the user clicks on reports.
I am on Campaign Lite 2.5.5
I am on CraftCMS 4.4.5
The text was updated successfully, but these errors were encountered: