Loading...
 

CX_OBJECT_SECURITY - Access rights for objects

CX_OBJECT_SECURITY

Class hierarchy
Description:

While objects of the class CX_CLASS_SECURITY describe the rights of all objects of a class, CX_OBJECT_SECURITY objects can be used to define the rights for very specific objects. This security object is only responsible for the objects contained in objects.

CX SECURITY SET2

The subobjects specified in specialisations are only checked during the check of the access rights for objects (read/write/delete) if the object concerned occurs in objects. If several security objects in specialisations are responsible for an object access, then the last one always wins. This behaviour was different before Dll version 225901.

Attention: During the check for the creation of objects of a class, the security objects contained in specialisations are always checked.

Code example:

...

List of methods (MDI)
Function MA* Parameters Return Brief description
Register Registering a Security Object
TestClass
225901
INTEGERCX_BIT_PATTERNReturns the class access for a specific class.
TestMessage
225661
INTEGERTRUE/FALSETest whether message is allowed or blocked
TestObject
225901
OBJECT, STRINGCX_BIT_PATTERNReturns the object access for a specific object (+ path).
TestOption
225735
INTEGERTRUE/FALSETest whether option is allowed or blocked.

* MA = Member Access Function

Data directory (DDI)
Data field Type Reference class I* Brief description
specializations COLL CX_SECURITY subordinate security objects
name STRING Description
accessExpressions COLL CX_ATTRIBUTE_SECURITY Objects of class CX_ATTRIBUTE_SECURITY
flags INTEGER
ValueDescription
0x01Read allowed
0x02Write allowed
0x04Create object allowed*
0x08Delete object allowed

* = This option makes no sense for CX_OBJECT_SECURITY,
since the object does not yet exist before creation and CX_OBJECT_SECURITY can therefore never be responsible for it.

objects COLL CX_CLASS Objects whose access rights are described

* I = Indexable data field

Use in AppsWH
Module Brief description
secobjec.mod Access rights for objects Editing module