|
1 <?php |
|
2 |
|
3 /* |
|
4 * This file is part of the Symfony package. |
|
5 * |
|
6 * (c) Fabien Potencier <fabien@symfony.com> |
|
7 * |
|
8 * For the full copyright and license information, please view the LICENSE |
|
9 * file that was distributed with this source code. |
|
10 */ |
|
11 |
|
12 namespace Symfony\Component\Security\Acl\Model; |
|
13 |
|
14 /** |
|
15 * This interface adds auditing capabilities to the ACL. |
|
16 * |
|
17 * @author Johannes M. Schmitt <schmittjoh@gmail.com> |
|
18 */ |
|
19 interface AuditableAclInterface extends MutableAclInterface |
|
20 { |
|
21 /** |
|
22 * Updates auditing for class-based ACE |
|
23 * |
|
24 * @param integer $index |
|
25 * @param Boolean $auditSuccess |
|
26 * @param Boolean $auditFailure |
|
27 * @return void |
|
28 */ |
|
29 function updateClassAuditing($index, $auditSuccess, $auditFailure); |
|
30 |
|
31 /** |
|
32 * Updates auditing for class-field-based ACE |
|
33 * |
|
34 * @param integer $index |
|
35 * @param string $field |
|
36 * @param Boolean $auditSuccess |
|
37 * @param Boolean $auditFailure |
|
38 * @return void |
|
39 */ |
|
40 |
|
41 function updateClassFieldAuditing($index, $field, $auditSuccess, $auditFailure); |
|
42 |
|
43 /** |
|
44 * Updates auditing for object-based ACE |
|
45 * |
|
46 * @param integer $index |
|
47 * @param Boolean $auditSuccess |
|
48 * @param Boolean $auditFailure |
|
49 * @return void |
|
50 */ |
|
51 function updateObjectAuditing($index, $auditSuccess, $auditFailure); |
|
52 |
|
53 /** |
|
54 * Updates auditing for object-field-based ACE |
|
55 * |
|
56 * @param integer $index |
|
57 * @param string $field |
|
58 * @param Boolean $auditSuccess |
|
59 * @param Boolean $auditFailure |
|
60 * @return void |
|
61 */ |
|
62 function updateObjectFieldAuditing($index, $field, $auditSuccess, $auditFailure); |
|
63 } |