Skip to content
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

Quick posts always go to primary site #5253

Open
gglnx opened this issue Nov 20, 2019 · 0 comments

Comments

@gglnx
Copy link

@gglnx gglnx commented Nov 20, 2019

Description

The quick post widget always uses the primary site as target. If the users isn't allowed there, the quick post fails.

Maybe use a similar approach like in the recent entries widget (RecentEntries::_getTargetSiteId).

Steps to reproduce

  1. Create a user without access to the primary site
  2. Add quick post widget to dashboard
  3. Try to create an entry via the quick post widget

Additional info

  • Craft version: 3.3.15
  • PHP version: 7.3.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.