Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos record grant: $username, INTID, CANWRITE, CANDELETE, CANSTATECHANGE, user groups, PostgreSQL intid.

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.

Status
colourGrey
titleReferenz
Status
colourBlue
titleApplication developer
Status
colourGreen
titleUpdated: Jul 2026
Status
colourGrey
titleapplies to Nuclos 4.2026.x

Panel
bgColor#F4F5F7

On this page

Inhalt
maxLevel2
minLevel2

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.

Info
titleHow 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.

Warnung
titleCaution

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 →