Commit b81e1d28 authored by eileen's avatar eileen 🎱
Browse files

Merge branch 'fixPerm' into 'master'

Fix typo in access check

See merge request extensions/ckeditor5!3
parents f3495e7e 132288ce
......@@ -10,7 +10,7 @@ class CRM_Ckeditor5_Page_ImageManager extends CRM_Core_Page {
* @throws \Exception
*/
public function run() {
if (!CRM_Core_Permission::check('access uploaded Files')) {
if (!CRM_Core_Permission::check('access uploaded files')) {
throw new CRM_Core_Exception('Permission denied');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment