Redesign permissions page
This commit is contained in:
@@ -95,6 +95,22 @@ export type UserSession = {
|
||||
creation_time: string,
|
||||
last_used_time: string,
|
||||
valid_domains: string[],
|
||||
|
||||
// Whether this is the key the list of sessions was requested with
|
||||
current: boolean,
|
||||
|
||||
// What the key is allowed to do
|
||||
filesystem_read: boolean,
|
||||
filesystem_write: boolean,
|
||||
account_read: boolean,
|
||||
account_write: boolean,
|
||||
session_read: boolean,
|
||||
session_write: boolean,
|
||||
billing_read: boolean,
|
||||
billing_write: boolean,
|
||||
|
||||
// IDs of the directories the key is limited to. Empty means no limit
|
||||
filesystem_dirs: string[],
|
||||
}
|
||||
|
||||
// If cached_user is undefined it means that the value is not initialized yet,
|
||||
|
||||
Reference in New Issue
Block a user