globe with meridians Language: Deutsch · English

open book Record grant

Permissions at record level – via a data source that returns the visible records per user.

REFERENZ APPLICATION DEVELOPER UPDATED: JUL 2026 APPLIES TO NUCLOS 4.2026.X

On this page

What is a record grant?

The record grant is a generic concept for permission restrictions at record level. The record grant data source type (Configuration → Data sources → Record grant) is assigned to a business object and receives $username as its only parameter.

How it works

Principle: username in → data source processes → list of visible records (INTID) out. The only mandatory column is INTID.

Optional columns

ColumnEffect
CANWRITEtrue/false (1/0): controls write access to the record (default: true).
CANDELETEtrue/false (1/0): controls delete access to the record (default: true).
CANSTATECHANGEsince Nuclos 4.8: allows/denies status change independently of CANWRITE (default = value of CANWRITE). General status-change rights must still exist.

Nesting & assignment

Data sources can be nested; not every one must be assigned to a BO. This lets you model hierarchical or multi-dimensional permissions (e.g. site mapping). Existing permission mechanisms remain and are processed with higher priority.

Caution

Record grants must be assigned under Administration → user group to the user groups they should apply to. On PostgreSQL the intid column must be lowercase.

Related pages

file cabinet Data sources


Basics.

Open →

world map Status model


Status rights.

Open →

  • Keine Stichwörter