Skip to content

AccessLevel

Access is a global table, which contains access level bitshifts which can be used to construct variable node access permissions.

Access Levels

AccessLevel.READ

AccessLevel.WRITE

AccessLevel.HISTORYREAD

AccessLevel.HISTORYWRITE

AccessLevel.SEMANTICCHANGE

AccessLevel.STATUSWRITE

AccessLevel.TIMESTAMPWRITE

Usage

Since the values of the access levels are bitshifted values, they can be combined with the with the or operator: | to construct the access level permissions. For example:

access_level = AccessLevel.READ | AccessLevel.WRITE
The above example will create an access level value with only read and write permissions.

Back to top