Table of Contents

Class PluginCapability

Namespace
Builvero.Domain.Entities
Assembly
Builvero.Domain.dll

Represents a capability declared, approved, or granted for a plugin installation.

public class PluginCapability
Inheritance
PluginCapability
Inherited Members

Remarks

Capabilities define what a plugin is allowed to do. They must be declared in the manifest, approved by admins, and granted by the installer. Capabilities are enforced via scoped tokens.

Properties

Capability

Gets or sets the capability string (e.g., "forum.message.actions", "project.sidebar").

public string Capability { get; set; }

Property Value

string
Represents a capability declared, approved, or granted for a plugin installation.

Id

Gets or sets the unique identifier for this capability record.

public Guid Id { get; set; }

Property Value

Guid
Represents a capability declared, approved, or granted for a plugin installation.

Installation

Gets or sets the installation this capability is granted to (if any).

public PluginInstallation? Installation { get; set; }

Property Value

PluginInstallation
Represents a capability declared, approved, or granted for a plugin installation.

InstallationId

Gets or sets the installation this capability is granted to (null if this is a declared capability for the version).

public Guid? InstallationId { get; set; }

Property Value

Guid?
Represents a capability declared, approved, or granted for a plugin installation.

IsApproved

Gets or sets whether this capability was approved by an admin.

public bool IsApproved { get; set; }

Property Value

bool
Represents a capability declared, approved, or granted for a plugin installation.

IsDeclared

Gets or sets whether this capability was declared in the plugin manifest.

public bool IsDeclared { get; set; }

Property Value

bool
Represents a capability declared, approved, or granted for a plugin installation.

IsGranted

Gets or sets whether this capability was granted by the installer.

public bool IsGranted { get; set; }

Property Value

bool
Represents a capability declared, approved, or granted for a plugin installation.

PluginVersion

Gets or sets the plugin version this capability is associated with.

public PluginVersion PluginVersion { get; set; }

Property Value

PluginVersion
Represents a capability declared, approved, or granted for a plugin installation.

PluginVersionId

Gets or sets the plugin version this capability is associated with.

public Guid PluginVersionId { get; set; }

Property Value

Guid
Represents a capability declared, approved, or granted for a plugin installation.