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 (*Permissions) CheckAdmin ¶
func (p *Permissions) CheckAdmin(id *ga4gh.Identity) (bool, error)
CheckAdmin returns if user has valid admin permission.
Click to show internal directories.
Click to hide internal directories.