Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptedOrganisations ¶
type AcceptedOrganisations []string
func (AcceptedOrganisations) IsOrganisationAccepted ¶
func (acceptedOrganisations AcceptedOrganisations) IsOrganisationAccepted(orgId string) bool
type AccessControlListConfig ¶
type AccessControlListConfig struct { DenyList DeniedUsers AccessList AcceptedOrganisations DenyListConfigFile string AccessListConfigFile string EnableDenyList bool EnableAccessList bool }
func NewAccessControlListConfig ¶
func NewAccessControlListConfig() *AccessControlListConfig
func (*AccessControlListConfig) AddFlags ¶
func (c *AccessControlListConfig) AddFlags(fs *pflag.FlagSet)
func (*AccessControlListConfig) ReadFiles ¶
func (c *AccessControlListConfig) ReadFiles() (err error)
type AccessControlListMiddleware ¶
type AccessControlListMiddleware struct {
// contains filtered or unexported fields
}
func NewAccessControlListMiddleware ¶
func NewAccessControlListMiddleware(accessControlListConfig *AccessControlListConfig) *AccessControlListMiddleware
type DeniedUsers ¶
type DeniedUsers []string
func (DeniedUsers) IsUserDenied ¶
func (deniedAccounts DeniedUsers) IsUserDenied(username string) bool
Click to show internal directories.
Click to hide internal directories.