permission

package
v0.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckRequest

type CheckRequest struct {
	/**
	 * PathParams
	 */
	PathParams struct{}

	/**
	 * QueryParams
	 */
	QueryParams struct{}

	/**
	 * Body
	 */
	Body struct {
		SchemaVersion utils.Version `json:"schema_version" form:"schema_version" xml:"schema_version"`
		Entity        tuple.Entity  `json:"entity" form:"entity" xml:"entity"`
		Action        string        `json:"action" form:"action" xml:"action"`
		Subject       tuple.Subject `json:"subject" form:"subject" xml:"subject"`
		Depth         int32         `json:"depth" form:"depth" xml:"depth"`
	}
}

CheckRequest -

func (CheckRequest) Validate

func (r CheckRequest) Validate() (err error)

Validate -

type ExpandRequest

type ExpandRequest struct {
	/**
	 * PathParams
	 */
	PathParams struct{}

	/**
	 * QueryParams
	 */
	QueryParams struct{}

	/**
	 * Body
	 */
	Body struct {
		SchemaVersion utils.Version `json:"schema_version" form:"schema_version" xml:"schema_version"`
		Entity        tuple.Entity  `json:"entity" form:"entity" xml:"entity"`
		Action        string        `json:"action" form:"action" xml:"action"`
	}
}

ExpandRequest -

func (ExpandRequest) Validate

func (r ExpandRequest) Validate() (err error)

Validate -

Jump to

Keyboard shortcuts

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