core: add perm scopes

This commit is contained in:
undefined committed 2020-10-06 18:16:39 +08:00
1 parent 4b7f18baaa
commit efc7e2863d
5 files changed
+22 -10

No files matched your search

+1
View File
@@ -74,6 +74,7 @@ export interface User extends Dictionary<any> {
regat: Date,
loginat: Date,
perm: () => bigint,
scope: () => bigint,
role: string,
regip: () => string,
loginip: () => string,