Skip to content

Commit b7582c0

Browse files
committed
bump max roles
1 parent 1264836 commit b7582c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

OpenFlow/src/User.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class User extends Base {
160160
}
161161
public async DecorateWithRoles(): Promise<void> {
162162
let query: any = { _type: "role" };
163-
var _roles: Role[] = await Config.db.query<Role>(query, null, 1000, 0, null, "users", TokenUser.rootToken());
163+
var _roles: Role[] = await Config.db.query<Role>(query, null, 2000, 0, null, "users", TokenUser.rootToken());
164164
if (_roles.length === 0 && this.username !== "root") {
165165
throw new Error("System has no roles !!!!!!");
166166
}

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.513
1+
0.0.514

0 commit comments

Comments
 (0)