-
-
Notifications
You must be signed in to change notification settings - Fork 773
[Bug]: CKE Allow browser based on folder permissions doesn't work on host level #5812
Copy link
Copy link
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
PR #5762 for issue #5761 introduced a setting for the CKEditor provider, to allow the filebrowser to be enabled or disabled, based on the user's permissions on the opened folder.
As it turns out, this setting does not work when set on host level. That is: you can set it on host level, and it will show as set on site level too, but when rendering the editor, a user with permissions still doesn't get a "Brose Server" button in the image popup.
Steps to reproduce?
- Go to CKE settings in Site Settings
- Uncheck "This site only"
- Check "Allow users with folder permissions" on the second tab
- Make sure only administrators role is checked in the allowed roles setting
- Save
- Login with a user that has edit rights on a page, but is not an administrator
- Edit and HTML/Text module
- Notice ther's no browse server button in the image dialog
Current Behavior
No response
Expected Behavior
When this setting is set on host level, a non-admin user with edit rights, should be able to browse the server for images.
Relevant log output
No response
Anything else?
I'm wokring on a PR.
Affected Versions
9.12.0 (latest release)
What browsers are you seeing the problem on?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable