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