mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
15 lines
296 B
Go
15 lines
296 B
Go
package interfaces
|
|
|
|
type Permission interface {
|
|
ModelWithKey
|
|
ModelWithNameDescription
|
|
GetType() (t string)
|
|
SetType(t string)
|
|
GetTarget() (target []string)
|
|
SetTarget(target []string)
|
|
GetAllow() (allow []string)
|
|
SetAllow(allow []string)
|
|
GetDeny() (deny []string)
|
|
SetDeny(deny []string)
|
|
}
|