Merge pull request #22955 from colemanw/schemaTrait
[civicrm-core.git] / Civi / Api4 / ACL.php
CommitLineData
19b53e5b 1<?php
380f3545
TO
2/*
3 +--------------------------------------------------------------------+
41498ac5 4 | Copyright CiviCRM LLC. All rights reserved. |
380f3545 5 | |
41498ac5
TO
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
380f3545
TO
9 +--------------------------------------------------------------------+
10 */
19b53e5b
C
11namespace Civi\Api4;
12
13/**
0493ec47 14 * ACL (Access Control List).
19b53e5b 15 *
0493ec47 16 * An ACL record consists of:
19b53e5b 17 *
136ca5bb
CW
18 * 1. An Operation (e.g. 'View' or 'Edit').
19 * 2. A set of Data that the operation can be performed on (e.g. a group of contacts).
20 * 3. A Role that has permission to do this operation.
19b53e5b 21 *
136ca5bb 22 * Creating a new ACL requires at minimum an entity table, entity ID and object_table.
0493ec47 23 *
aa998597 24 * @searchable none
0493ec47 25 * @see https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control
d44cc3cb 26 * @since 5.19
19b53e5b
C
27 * @package Civi\Api4
28 */
29class ACL extends Generic\DAOEntity {
30
31}