add more privileges to API user.
This commit is contained in:
parent
45c9d0c120
commit
0824c24bf6
1 changed files with 7 additions and 3 deletions
|
|
@ -36,6 +36,10 @@ func New(config *config.Session) *SessionManagerCtx {
|
||||||
Name: "API Session",
|
Name: "API Session",
|
||||||
IsAdmin: true,
|
IsAdmin: true,
|
||||||
CanLogin: true,
|
CanLogin: true,
|
||||||
|
CanConnect: false,
|
||||||
|
CanWatch: true,
|
||||||
|
CanHost: true,
|
||||||
|
CanAccessClipboard: true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue