2022-02-20 20:22:07 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Akeeba Engine
|
|
|
|
*
|
|
|
|
* @package akeebaengine
|
2023-12-19 02:28:16 +00:00
|
|
|
* @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
|
|
|
|
*/
|
|
|
|
|
2023-12-19 02:28:16 +00:00
|
|
|
namespace Akeeba\S3;
|
2022-02-20 20:22:07 +00:00
|
|
|
|
|
|
|
// Protection against direct access
|
2023-12-19 02:28:16 +00:00
|
|
|
defined('AKEEBAENGINE') || die();
|
2022-02-20 20:22:07 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Shortcuts to often used access control privileges
|
|
|
|
*/
|
|
|
|
class Acl
|
|
|
|
{
|
2023-12-19 02:28:16 +00:00
|
|
|
public const ACL_PRIVATE = 'private';
|
2022-02-20 20:22:07 +00:00
|
|
|
|
2023-12-19 02:28:16 +00:00
|
|
|
public const ACL_PUBLIC_READ = 'public-read';
|
2022-02-20 20:22:07 +00:00
|
|
|
|
2023-12-19 02:28:16 +00:00
|
|
|
public const ACL_PUBLIC_READ_WRITE = 'public-read-write';
|
2022-02-20 20:22:07 +00:00
|
|
|
|
2023-12-19 02:28:16 +00:00
|
|
|
public const ACL_AUTHENTICATED_READ = 'authenticated-read';
|
2022-02-20 20:22:07 +00:00
|
|
|
|
2023-12-19 02:28:16 +00:00
|
|
|
public const ACL_BUCKET_OWNER_READ = 'bucket-owner-read';
|
2022-02-20 20:22:07 +00:00
|
|
|
|
2023-12-19 02:28:16 +00:00
|
|
|
public const ACL_BUCKET_OWNER_FULL_CONTROL = 'bucket-owner-full-control';
|
2022-02-20 20:22:07 +00:00
|
|
|
}
|