mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
25 lines
443 B
Go
25 lines
443 B
Go
package test
|
|
|
|
import (
|
|
"github.com/fleetdm/fleet/v4/server/fleet"
|
|
"github.com/fleetdm/fleet/v4/server/ptr"
|
|
)
|
|
|
|
var (
|
|
UserNoRoles = &fleet.User{
|
|
ID: 1,
|
|
}
|
|
UserAdmin = &fleet.User{
|
|
ID: 2,
|
|
GlobalRole: ptr.String(fleet.RoleAdmin),
|
|
}
|
|
UserMaintainer = &fleet.User{
|
|
ID: 3,
|
|
GlobalRole: ptr.String(fleet.RoleMaintainer),
|
|
}
|
|
UserObserver = &fleet.User{
|
|
ID: 4,
|
|
GlobalRole: ptr.String(fleet.RoleObserver),
|
|
}
|
|
)
|