permissions

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPermission

func AddPermission(permissions *[]string, node string)

AddPermission adds a permission node to the user

func CheckPermission

func CheckPermission(permissions *[]string, node string) bool

CheckPermission checks if a a specific permission was given, considering wildcards

func RemovePermission

func RemovePermission(permissions *[]string, node string)

RemovePermission removes a permission node from the user

Types

This section is empty.

Jump to

Keyboard shortcuts

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