# What setting in Access Policy Governs the Drag and Drop of images

**URL:** <https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472>\
**Category:** Random\
**Tags:** settings\
**Created:** [June 16, 2022, 7:28pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472 "2022-06-16T19:28:54Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 16, 2022, 7:28pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/1 "2022-06-16T19:28:54Z")

</div>

I have a website where I have a restricted set of permissions so these users can only edit the Blog area of the site. It works fine, except when they try and drag and drop from the images on the left in the file structure, into Content Blocks.

I have spent the last couple of hours ticking and unticking permissions to try and figure it out, but no luck.

Any ideas what setting might control this?

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 16, 2022, 7:29pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/2 "2022-06-16T19:29:36Z")

</div>

![ModX Issue.PNG](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/f/f751ceba9b3a9e6d62be2b494a0281f7223a5d87.jpeg)

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [June 17, 2022, 9:21am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/3 "2022-06-17T09:21:12Z")

</div>

When I test it, the code makes an AJAX-request after the drop to the contentblocks-connector with the parameter “action” = `content/image/download`.  
In the corresponding processor `core/components/contentblocks/processors/content/image/download.class.php` there is this line

```auto
if (!$this->source->checkPolicy('create')) {

```

to check for the “create” policy on the media source.  
So maybe that is missing.

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 9:41am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/4 "2022-06-17T09:41:11Z")

</div>

![Screen Shot 2022-06-17 at 9.39.05 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/optimized/2X/a/af7900790c8976366c7e3042d58f4d61efd6e493_2_690x25.png)

 ![Screen Shot 2022-06-17 at 9.39.20 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/c/ce43173f419b8b9797b4ea95703a4b218c7a9c95.png)  
 ![Screen Shot 2022-06-17 at 9.39.27 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/3/3b230c7e12178af4b6ec99ce2e11a745e3b721e5.png)  
 ![Screen Shot 2022-06-17 at 9.39.34 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/d/df5a6102c03fc664f318978eaf955ef0f2ed3cbf.png)  
 ![Screen Shot 2022-06-17 at 9.39.42 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/optimized/2X/3/3a8872600757192c6cca7a97ea8e43891a834f09_2_690x37.png)

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 9:41am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/5 "2022-06-17T09:41:43Z")

</div>

![Screen Shot 2022-06-17 at 6.22.25 AM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/b8f2ca2f3df24e7ddfe851178d0c397789ef934c.png)  
 ![Screen Shot 2022-06-17 at 6.22.35 AM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/9/99c2e05a4a700a74bbcb43b3f2e61c23028d9e60.png)  
 ![Screen Shot 2022-06-17 at 6.40.03 AM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/f/f17384d358142fcf0b5490b48ae8af680add497e.png)  
 ![Screen Shot 2022-06-17 at 9.37.57 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/c/cce29252174859015b37e42176e0d93a06180be4.png)  
 ![Screen Shot 2022-06-17 at 9.38.46 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/d/d6fa96d85894544c2adb3ec30e09129664e2dc69.png)

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 9:42am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/6 "2022-06-17T09:42:15Z")

</div>

![Screen Shot 2022-06-17 at 6.22.14 AM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/1/1d60d48d1a0b8bdc8167b0bbf8b195b5fa60f72b.png)

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 9:43am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/7 "2022-06-17T09:43:48Z")

</div>

Thanks for the help - I’ve had a look at all the settings for “media” and “create” and I honestly can’t see which could be controlling it.

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 9:44am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/8 "2022-06-17T09:44:00Z")

</div>

![Screen Shot 2022-06-17 at 9.43.17 PM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/e/e5c8af979b26125a654c1dd8f30d4f6a63e1744c.png)

---

<div class="post-metadata">

**Author:** ![halftrainedharry](https://community.modx.com/user_avatar/community.modx.com/halftrainedharry/32/1063_2.png) [@halftrainedharry](https://community.modx.com/u/halftrainedharry)\
**Post date:** [June 17, 2022, 9:49am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/9 "2022-06-17T09:49:21Z")

</div>

Maybe try adding the Media Source here:  
(cog-wheel icon in top menu → “Access Control Lists” → right-click “Update User Group”)

 ![Screenshot 2022-06-17 at 11-45-48 User Group Administrator MODX Revolution](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/3/32631a3da3b0d4f8f87cdee487ce1949280a73bc.png)

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 6:46pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/10 "2022-06-17T18:46:39Z")

</div>

![Screen Shot 2022-06-18 at 6.46.03 AM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/e/e525363d51cb1e1630507c420643c23bba7a53d2.png)

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 6:47pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/11 "2022-06-17T18:47:03Z")

</div>

That user is already a Media Source Admin. I’m so confused!

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 17, 2022, 6:48pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/12 "2022-06-17T18:48:10Z")

</div>

![Screen Shot 2022-06-18 at 6.47.53 AM](https://modx-community.s3.dualstack.us-east-1.amazonaws.com/original/2X/3/32588fa6a169d14e484abe76e1ca275ae4745e6f.png)

---

<div class="post-metadata">

**Author:** ![digitalpenguin](https://community.modx.com/user_avatar/community.modx.com/digitalpenguin/32/32_2.png) [@digitalpenguin](https://community.modx.com/u/digitalpenguin)\
**Post date:** [June 23, 2022, 1:49am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/13 "2022-06-23T01:49:12Z")

</div>

Hey @rachelmarama1 ,

I see you’ve got a minimum role of `Editor - 10` on media source access. What’s the user’s role set to?

---

<div class="post-metadata">

**Author:** ![rachelmarama1](https://community.modx.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rachelmarama1](https://community.modx.com/u/rachelmarama1)\
**Post date:** [June 23, 2022, 3:02am UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/14 "2022-06-23T03:02:50Z")

</div>

User is set to Super User.

---

<div class="post-metadata">

**Author:** ![robh76](https://community.modx.com/user_avatar/community.modx.com/robh76/32/2007_2.png) [@robh76](https://community.modx.com/u/robh76)\
**Post date:** [June 24, 2022, 1:38pm UTC](https://community.modx.com/t/what-setting-in-access-policy-governs-the-drag-and-drop-of-images/5472/15 "2022-06-24T13:38:15Z")

</div>

I’ve had situations like this when I can’t figure out which permission is causing a “Permission Denied” error and sometimes there’s more that one permission involved. To find it I will create a duplicate of my Access Policy and assign the user group to it and then systematically check all permissions (say) 10 at a time starting from the top until the error goes away. That way you can narrow it down & when you’ve found it, adjust & re-assign you original Access Policy.
