function s3fs_cors_permission in S3 File System CORS Upload 7
Implements hook_permission().
File
- ./
s3fs_cors.module, line 35 - Allow uploading of files directly to AmazonS3 via the browser using CORS.
Code
function s3fs_cors_permission() {
return array(
'administer s3fs CORS' => array(
'title' => t('Administer S3 File System CORS Upload'),
),
'generate s3fs CORS upload parameters' => array(
'title' => t('Generate CORS Upload Parameters'),
),
);
}