Documentation ¶
Index ¶
Constants ¶
View Source
const AuthUserCtx types.ContextKey = "authUser"
Variables ¶
View Source
var ErrNotAllowed = errors.New("unauthorized to process request")
ErrNotAllowed is returned when request is not permitted.
Functions ¶
This section is empty.
Types ¶
type OrganisationPolicy ¶
type OrganisationPolicy struct { *authz.BasePolicy OrganisationMemberRepo datastore.OrganisationMemberRepository }
func (*OrganisationPolicy) GetName ¶ added in v1.1.6
func (op *OrganisationPolicy) GetName() string
type ProjectPolicy ¶
type ProjectPolicy struct { *authz.BasePolicy OrganisationRepo datastore.OrganisationRepository OrganisationMemberRepo datastore.OrganisationMemberRepository }
func (*ProjectPolicy) GetName ¶ added in v1.1.6
func (pp *ProjectPolicy) GetName() string
Click to show internal directories.
Click to hide internal directories.