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

[4.x]: Missing temporary uploads folder for editor role (which is granted to access) #12128

Closed
lexislav opened this issue Oct 14, 2022 · 3 comments · Fixed by #12144
Closed
Assignees

Comments

@lexislav
Copy link

What happened?

Description

On Craft 4, I have set the Images volume and granted all access for Editor user's group.I have set up the field using this volume. The field is not restricted to single folder, it is allowed to use all and images volumes. And has some rule to create the path from entry slug.When logged in as admin, when uploading the images on this field, I see Images and Temporary uploads folders.However, for any other role without admin access, Temporary uploads are not visible when adding pictures to the field.Did I miss some settings somewhere or is this a bug?

Steps to reproduce

  1. set volume Images and Image transforms for that to ge it working.
  2. create field coverImage with SOurces set to All and Images. Primary placement set to Images/{slug}
  3. add editor role, grant all access to images volume and to the specific entry using this field and CP of course.
  4. try to add images as admin and as editor. - for admin, Temporary uploads are available, for editor they are not.

Expected behavior

Temporary uploads should be available for editor as well.

Actual behavior

Temporary uploads are not accesible for editor.

Craft CMS version

4.2.7 (Pro)

PHP version

8.0.24

Operating system and version

Darwin 21.6.0

Database type and version

MySQL 8.0.29

Image driver and version

GD 8.0.24

Installed plugins and versions

  • Child Me! 1.3.1
  • Feed Me 5.0.4
  • Maps v4.0.3
  • Neo 3.4.0
  • Redactor 3.0.2
  • Redirect Manager 2.0.0
  • Super Table 3.0.2
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release via #12144.

@brandonkelly
Copy link
Member

Craft 4.2.8 is out now with that fix.

@lexislav
Copy link
Author

lexislav commented Oct 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants