inc.AccessUtils.php
Some definitions for access control
Tags
Table of Contents
Constants
- M_ALL = 4
- Unrestricted access
- M_ANY = -1
- Used to indicate that a search should return all results in the ACL table. See {@link SeedDMS_Core_Folder::getAccessList()}
- M_HIGHEST_RIGHT = 4
- Highest access right
- M_LOWEST_RIGHT = 1
- Lowest access right
- M_NONE = 1
- No access at all
- M_READ = 2
- Read access only
- M_READWRITE = 3
- Read and write access only
- N_ADD_DOCUMENT = 6
- Notify when version of document was deleted
- N_ALL = 0
- Notify on all actions on the folder/document
- N_DELETE = 1
- Notify when object has been deleted
- N_DELETE_VERSION = 5
- Notify when version of document was deleted
- N_MOVE = 2
- Notify when object has been moved
- N_NEW_VERSION = 4
- Notify when document has new version
- N_UPDATE = 3
- Notify when object has been updated (no new version)
- O_EQ = "="
- Operation equal
- O_GTEQ = ">="
- Operation greater than or equal
- O_LTEQ = "<="
- Operation lower than or equal
- T_DOCUMENT = 2
- Document notification
- T_FOLDER = 1
- Folder notification
Constants
M_ALL
Unrestricted access
public
mixed
M_ALL
=
4
M_ANY
Used to indicate that a search should return all results in the ACL table. See {@link SeedDMS_Core_Folder::getAccessList()}
public
mixed
M_ANY
=
-1
M_HIGHEST_RIGHT
Highest access right
public
mixed
M_HIGHEST_RIGHT
=
4
M_LOWEST_RIGHT
Lowest access right
public
mixed
M_LOWEST_RIGHT
=
1
M_NONE
No access at all
public
mixed
M_NONE
=
1
M_READ
Read access only
public
mixed
M_READ
=
2
M_READWRITE
Read and write access only
public
mixed
M_READWRITE
=
3
N_ADD_DOCUMENT
Notify when version of document was deleted
public
mixed
N_ADD_DOCUMENT
=
6
N_ALL
Notify on all actions on the folder/document
public
mixed
N_ALL
=
0
N_DELETE
Notify when object has been deleted
public
mixed
N_DELETE
=
1
N_DELETE_VERSION
Notify when version of document was deleted
public
mixed
N_DELETE_VERSION
=
5
N_MOVE
Notify when object has been moved
public
mixed
N_MOVE
=
2
N_NEW_VERSION
Notify when document has new version
public
mixed
N_NEW_VERSION
=
4
N_UPDATE
Notify when object has been updated (no new version)
public
mixed
N_UPDATE
=
3
O_EQ
Operation equal
public
mixed
O_EQ
=
"="
O_GTEQ
Operation greater than or equal
public
mixed
O_GTEQ
=
">="
O_LTEQ
Operation lower than or equal
public
mixed
O_LTEQ
=
"<="
T_DOCUMENT
Document notification
public
mixed
T_DOCUMENT
=
2
T_FOLDER
Folder notification
public
mixed
T_FOLDER
=
1