pluginutils

package
v0.0.0-kmdagger1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToRegistrations

func ToRegistrations(pluginID, pluginName string, regs []plugins.RoleRegistration) []ac.RoleRegistration

func ValidatePluginPermissions

func ValidatePluginPermissions(pluginID string, permissions []ac.Permission) error

ValidatePluginPermissions errors when a permission does not match expected pattern for plugins

func ValidatePluginRole

func ValidatePluginRole(pluginID string, role ac.RoleDTO) error

ValidatePluginRole errors when a plugin role does not match expected pattern or doesn't have permissions matching the expected pattern.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL