Help us shape the future of Go! Take the 2026 Go Developer Survey

permission

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: BSD-3-Clause Imports: 9 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessToWorkflowNode

func AccessToWorkflowNode(ctx context.Context, db gorp.SqlExecutor, wf *sdk.Workflow, wn *sdk.Node, u sdk.AuthUserConsumer, access int) bool

AccessToWorkflowNode check rights on the given workflow node

func LoadProjectMaxLevelPermission

func LoadProjectMaxLevelPermission(ctx context.Context, db gorp.SqlExecutor, projectKeys []string, groupIDs []int64) (sdk.EntitiesPermissions, error)

func LoadWorkflowMaxLevelPermission

func LoadWorkflowMaxLevelPermission(ctx context.Context, db gorp.SqlExecutor, projectKey string, workflowNames []string, groupIDs []int64) (sdk.EntitiesPermissions, error)

func LoadWorkflowMaxLevelPermissionByWorkflowIDs

func LoadWorkflowMaxLevelPermissionByWorkflowIDs(ctx context.Context, db gorp.SqlExecutor, workflowIDs []int64, groupIDs []int64) (sdk.EntitiesPermissions, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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