Movatterモバイル変換


[0]ホーム

URL:


acl

package
v2.26.0Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License:AGPL-3.0Imports:6Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

typeUpdateValidator

type UpdateValidator[Rolecodersdk.WorkspaceRole |codersdk.TemplateRole] interface {// Users should return a map from user UUIDs (as strings) to the role they// are being assigned. Additionally, it should return a string that will be// used as the field name for the ValidationErrors returned from Validate.Users() (map[string]Role,string)// Groups should return a map from group UUIDs (as strings) to the role they// are being assigned. Additionally, it should return a string that will be// used as the field name for the ValidationErrors returned from Validate.Groups() (map[string]Role,string)// ValidateRole should return an error that will be used in the// ValidationError if the role is invalid for the corresponding resource type.ValidateRole(role Role)error}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp