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

Unknown error in CP when user has no permission to create asset folder #5223

Open
craftedsystems opened this issue Nov 8, 2019 · 0 comments
Assignees

Comments

@craftedsystems
Copy link
Contributor

@craftedsystems craftedsystems commented Nov 8, 2019

Description

When a user tries to create an asset folder and does not have permission to do so, Craft fails and displays the message "An unknown error occurred.". As visible in the browser network log,

Craft knows the cause and should tell the user what failed.

Steps to reproduce

  1. Create a user group that is not allowed to create asset folders ("Create subfolders")
  2. Try to create an asset folder with a user of this user group

Additional info

  • Craft version: 3.3.15
  • PHP version: 7.3.11
  • Database driver & version: MySQL 5.5.5
  • Plugins & versions:

Screenshot-2019-11-08-at-17 06 24

@craftedsystems craftedsystems changed the title Unknown error in CP when user has no rights to create asset folder Unknown error in CP when user has no permission to create asset folder Nov 8, 2019
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.