About subjects

Overview

Subjects are used in conjunction with permissions. Subjects govern what entities a user is allowed to interact with under a specific permission.

📘

To learn more, read How to manage access rights.

Properties of a Subject object

NameTypeDescription
idSubject IDThe subject ID
fieldsArray of StringsThe properties of the entity. For example, "name", "description", etc.
entityStringThe entity that the user can interact with when this subject is paired with a permission