add more privileges to API user.

This commit is contained in:
Miroslav Šedivý 2021-03-15 16:28:38 +01:00
parent 45c9d0c120
commit 0824c24bf6

View File

@ -33,9 +33,13 @@ func New(config *config.Session) *SessionManagerCtx {
manager: manager,
logger: manager.logger.With().Str("session_id", "API").Logger(),
profile: types.MemberProfile{
Name: "API Session",
IsAdmin: true,
CanLogin: true,
Name: "API Session",
IsAdmin: true,
CanLogin: true,
CanConnect: false,
CanWatch: true,
CanHost: true,
CanAccessClipboard: true,
},
}
}