CollabPress icon indicating copy to clipboard operation
CollabPress copied to clipboard

Media Uploads Scope

Open ericandrewlewis opened this issue 12 years ago • 2 comments

Currently, we're using the WP Media modal out of the box. That means that users have access to the entire media uploads library, which is problematic - there is no file privacy.

Although files in WP are by nature accessible to anyone via a direct HTTP request, let's limit users to access of files to the project that they're viewing.

ericandrewlewis avatar May 29 '13 14:05 ericandrewlewis

@boonebgorges, can you gist me your hack for media uploads scope you showed me yesterday?

ericandrewlewis avatar May 30 '13 21:05 ericandrewlewis

You got it. https://github.com/boonebgorges/buddypress-docs/blob/master/includes/attachments.php

On 05/30/13 17:14, Eric Lewis wrote:

@boonebgorges https://github.com/boonebgorges, can you github me your hack for media uploads scope you showed me yesterday?

— Reply to this email directly or view it on GitHub https://github.com/WebDevStudios/CollabPress/issues/78#issuecomment-18708939.

boonebgorges avatar May 30 '13 23:05 boonebgorges