Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jackinloadup’s picture

mrfelton’s picture

Status: Needs review » Needs work

I think this is a duplicate of #1410500: wrong permissions are used (in media?) which has already been committed. This patch certainly doesn't apply any more.

Jackinloadup’s picture

Status: Needs work » Postponed

This patch is not a duplicate of #1410500: wrong permissions are used (in media?) but does most likely need to be rerolled.

This patch converts the permission system to use the new file_access functionality that is soon to be in the file_entity module per #1227706: Add a file entity access API.

#1227706: Add a file entity access API will help consolidate the permissions through Media and other modules like Media Browser plus though not all permissions in this module will go away as file_access understandably wont cover them all.

I'm not sure how many permissions should be consolidated to file_access but many of them seem relevant. Please review.

TODO:

  • Review patch to ensure all relevant portions are covered.
  • Write update_hook to migrate 'old' permissions to file_access permissions

For now im going to mark this issue as postponed until #1227706: Add a file entity access API gets in. Then we can move forward with this.

Jackinloadup’s picture

Status: Postponed » Needs work

File entity patch is now in. This patch can move forward.

salvis’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)