mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 09:11:13 +00:00
fix: allow setup-code bootstrap auth for operator pairing
This commit is contained in:
@@ -74,8 +74,8 @@ describe("pairing setup code", () => {
|
||||
expect(issueDeviceBootstrapTokenMock).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
profile: {
|
||||
roles: ["node"],
|
||||
scopes: [],
|
||||
roles: ["node", "operator"],
|
||||
scopes: ["operator.read", "operator.talk.secrets", "operator.write"],
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user