permissions

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package permissions contains codes share between IC and DAM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permissions

type Permissions struct {
	// contains filtered or unexported fields
}

Permissions type exposes functions access user permissions.

func New added in v0.9.3

func New(store storage.Store) *Permissions

New creates Permissions.

func (*Permissions) CheckAdmin

func (p *Permissions) CheckAdmin(id *ga4gh.Identity) (bool, error)

CheckAdmin returns if user has valid admin permission.

Jump to

Keyboard shortcuts

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