authz

package
v0.0.0-...-bf7cbd6 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: GPL-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 Service

type Service struct {
	Cheevos domain.CheevosService
	Roster  domain.RosterService
}

func (*Service) CanAwardCheevo

func (svc *Service) CanAwardCheevo(ctx context.Context, fromUserID, toUserID, cheevoID string) error

func (*Service) CanCreateCheevo

func (svc *Service) CanCreateCheevo(ctx context.Context, userID, orgID string) error

func (*Service) CanGetCheevo

func (svc *Service) CanGetCheevo(ctx context.Context, userID, cheevoID string) error

func (*Service) CanInviteUsersToOrganization

func (svc *Service) CanInviteUsersToOrganization(ctx context.Context, userID, orgID string) error

func (*Service) CanRefreshInvitation

func (svc *Service) CanRefreshInvitation(ctx context.Context, userID, invitationID string) error

Jump to

Keyboard shortcuts

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