Documentation

inc.AccessUtils.php

Some definitions for access control

Tags
category

DMS

license

GPL 2

version

@version@

version

Release: @package_version@

author

Markus Westphal, Malcolm Cowe, Uwe Steinmann uwe@steinmann.cx

copyright

Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe, 2010 Uwe Steinmann

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_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

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_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

        
On this page

Search results