rbac

package
v0.0.0-...-3511abf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnimplementedError = status.Error(codes.Unimplemented, stubUnimplementedMessage)

UnimplementedError is the error returned for unimplemented functions.

Functions

This section is empty.

Types

type RBACAPIServerWrapper

type RBACAPIServerWrapper struct{}

RBACAPIServerWrapper is a struct that implements RBACAPIServer.

func (*RBACAPIServerWrapper) AssignRoles

AssignRoles is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) AssignWorkspaceAdminToUserTx

func (s *RBACAPIServerWrapper) AssignWorkspaceAdminToUserTx(
	ctx context.Context, idb bun.IDB, workspaceID int, userID model.UserID,
) error

AssignWorkspaceAdminToUserTx is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) GetGroupsAndUsersAssignedToWorkspace

GetGroupsAndUsersAssignedToWorkspace is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) GetPermissionsSummary

GetPermissionsSummary is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) GetRolesAssignedToGroup

GetRolesAssignedToGroup is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) GetRolesAssignedToUser

GetRolesAssignedToUser is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) GetRolesByID

func (s *RBACAPIServerWrapper) GetRolesByID(ctx context.Context, req *apiv1.GetRolesByIDRequest) (
	resp *apiv1.GetRolesByIDResponse, err error,
)

GetRolesByID is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) ListRoles

ListRoles is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) RemoveAssignments

RemoveAssignments is a wrapper the same function the RBACAPIServer interface.

func (*RBACAPIServerWrapper) SearchRolesAssignableToScope

SearchRolesAssignableToScope is a wrapper the same function the RBACAPIServer interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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