You are here

function angular_media_upload_access in CKEditor Widgets 7

Verifies the token for this request.

1 string reference to 'angular_media_upload_access'
angular_media_menu in ./angular_media.module
Implements hook_menu().

File

./angular_media.module, line 117
Implementation of angular_media.module.

Code

function angular_media_upload_access() {

  // @todo;
  return TRUE;

  /*
  foreach (func_get_args() as $permission) {
    if (!user_access($permission)) {
      return FALSE;
    }
  }
  return !empty($_REQUEST['angular_media_token']) && drupal_valid_token($_REQUEST['angular_media_token'], 'angular_media-handle-uploads');
  */
}