Menu

## 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_ALL

inc.AccessUtils.php : 41

Unrestricted access

`public mixed M_ALL = 4`

#### M_ANY

inc.AccessUtils.php : 21

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

inc.AccessUtils.php : 51

Highest access right

`public mixed M_HIGHEST_RIGHT = 4`

#### M_LOWEST_RIGHT

inc.AccessUtils.php : 46

Lowest access right

`public mixed M_LOWEST_RIGHT = 1`

#### M_NONE

inc.AccessUtils.php : 26

No access at all

`public mixed M_NONE = 1`

#### M_READ

inc.AccessUtils.php : 31

Read access only

`public mixed M_READ = 2`

#### M_READWRITE

inc.AccessUtils.php : 36

Read and write access only

`public mixed M_READWRITE = 3`

#### N_ADD_DOCUMENT

inc.AccessUtils.php : 111

Notify when version of document was deleted

`public mixed N_ADD_DOCUMENT = 6`

#### N_ALL

inc.AccessUtils.php : 81

Notify on all actions on the folder/document

`public mixed N_ALL = 0`

#### N_DELETE

inc.AccessUtils.php : 86

Notify when object has been deleted

`public mixed N_DELETE = 1`

#### N_DELETE_VERSION

inc.AccessUtils.php : 106

Notify when version of document was deleted

`public mixed N_DELETE_VERSION = 5`

#### N_MOVE

inc.AccessUtils.php : 91

Notify when object has been moved

`public mixed N_MOVE = 2`

#### N_NEW_VERSION

inc.AccessUtils.php : 101

Notify when document has new version

`public mixed N_NEW_VERSION = 4`

#### N_UPDATE

inc.AccessUtils.php : 96

Notify when object has been updated (no new version)

`public mixed N_UPDATE = 3`

#### O_EQ

inc.AccessUtils.php : 66

Operation equal

`public mixed O_EQ = "="`

#### O_GTEQ

inc.AccessUtils.php : 56

Operation greater than or equal

`public mixed O_GTEQ = ">="`

#### O_LTEQ

inc.AccessUtils.php : 61

Operation lower than or equal

`public mixed O_LTEQ = "<="`

#### T_DOCUMENT

inc.AccessUtils.php : 76

Document notification

`public mixed T_DOCUMENT = 2`

#### T_FOLDER

inc.AccessUtils.php : 71

Folder notification

`public mixed T_FOLDER = 1`

## Search results