2021 December Release

Defining an access typePermanent link for this heading


acctype reference {
  finalform = booleanvalue;
  sequence = sequencenumber;
  symbol = symbol;

Access types are used to secure read, change and execute access to properties or use cases. If a property or use case is protected by a custom access type, the user must be granted this access type by the object’s ACL in order to access the property or to invoke the use case.

Note: Software component COOSYSTEM@1.1 already provides a set of access types that can be reused for protecting your properties and use cases.

The acctype keyword is used to define an access type. It must be followed by a reference and curly braces.

Within an acctype block, the finalform keyword is used to specify whether or not a user is able to access completed objects with this access type. If finalform is set to false, a user cannot access objects in final form with this access type.

The sequence keyword is used for defining the sequence number of the access type within the software component. If multiple access types are defined by a software component, the sequence number can be used for determining the order in which they are displayed in the ACL editor.

The symbol keyword is used for assigning a symbol to an access type. The symbol assigned to an access type is displayed in the ACL editor.


orgmodel APPDUCXSAMPLE@200.200
  import COOSYSTEM@1.1;

  acctype AccTypeApproveOrder {
    finalform = true;
    sequence = 1;
    symbol = SymbolApprove;