mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 01:31:08 +00:00
fix(auth): hand off qr bootstrap to bounded device tokens
This commit is contained in:
committed by
Peter Steinberger
parent
c4597992ca
commit
a9140abea6
@@ -12,7 +12,7 @@ export type DeviceBootstrapProfileInput = {
|
||||
|
||||
export const PAIRING_SETUP_BOOTSTRAP_PROFILE: DeviceBootstrapProfile = {
|
||||
roles: ["node", "operator"],
|
||||
scopes: ["operator.read", "operator.talk.secrets", "operator.write"],
|
||||
scopes: ["operator.approvals", "operator.read", "operator.talk.secrets", "operator.write"],
|
||||
};
|
||||
|
||||
function normalizeBootstrapRoles(roles: readonly string[] | undefined): string[] {
|
||||
|
||||
Reference in New Issue
Block a user