PortalPrivilege

@Serializable(with = PortalPrivilegeSerializer::class)
class PortalPrivilege(val realm: PortalPrivilegeRealm, val role: PortalPrivilegeRole, val type: PortalPrivilegeType, val subtype: PortalPrivilegeSubtype = PortalPrivilegeSubtype.None)

A portal user privilege. A privilege permits the user to perform specific operations on the portal.

Since

200.0.0

Constructors

Link copied to clipboard
constructor(realm: PortalPrivilegeRealm, role: PortalPrivilegeRole, type: PortalPrivilegeType, subtype: PortalPrivilegeSubtype = PortalPrivilegeSubtype.None)

creates a new instance

Properties

Link copied to clipboard

The realm this privilege belongs to.

Link copied to clipboard

The role this privilege belongs to.

Link copied to clipboard

The fine-grained operation subtype this privilege permits. Subtypes control access to a few fine-grained operations. The value is PortalPrivilegeSubtype.None unless this privilege relates to a fine-grained operation.

Link copied to clipboard

The type of operation this privilege permits.

Functions

Link copied to clipboard
open override fun toString(): String