mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
81e34d84de
* [MISC] Validate all sections of ACLs on startup This change ensure that all sections of the `access_control` key are validated on startup. * Change error format to clearly identify values
16 lines
311 B
Go
16 lines
311 B
Go
package authorization
|
|
|
|
// Level is the type representing an authorization level.
|
|
type Level int
|
|
|
|
const (
|
|
// Bypass bypass level.
|
|
Bypass Level = iota
|
|
// OneFactor one factor level.
|
|
OneFactor Level = iota
|
|
// TwoFactor two factor level.
|
|
TwoFactor Level = iota
|
|
// Denied denied level.
|
|
Denied Level = iota
|
|
)
|