friendica-addons/s3_storage/vendor/akeeba/s3/src/Acl.php

32 lines
712 B
PHP
Raw Normal View History

2022-02-20 20:22:07 +00:00
<?php
/**
* Akeeba Engine
*
* @package akeebaengine
* @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd
2022-02-20 20:22:07 +00:00
* @license GNU General Public License version 3, or later
*/
namespace Akeeba\S3;
2022-02-20 20:22:07 +00:00
// Protection against direct access
defined('AKEEBAENGINE') || die();
2022-02-20 20:22:07 +00:00
/**
* Shortcuts to often used access control privileges
*/
class Acl
{
public const ACL_PRIVATE = 'private';
2022-02-20 20:22:07 +00:00
public const ACL_PUBLIC_READ = 'public-read';
2022-02-20 20:22:07 +00:00
public const ACL_PUBLIC_READ_WRITE = 'public-read-write';
2022-02-20 20:22:07 +00:00
public const ACL_AUTHENTICATED_READ = 'authenticated-read';
2022-02-20 20:22:07 +00:00
public const ACL_BUCKET_OWNER_READ = 'bucket-owner-read';
2022-02-20 20:22:07 +00:00
public const ACL_BUCKET_OWNER_FULL_CONTROL = 'bucket-owner-full-control';
2022-02-20 20:22:07 +00:00
}