Can upload files
This commit is contained in:
@ -32,7 +32,7 @@ export function CreateTokenDialog(p: {
|
||||
max_inactivity: 3600 * 24 * 90,
|
||||
read_only: false,
|
||||
right_account: false,
|
||||
right_attachment: false,
|
||||
right_file: false,
|
||||
right_auth: false,
|
||||
right_inbox: false,
|
||||
right_movement: false,
|
||||
@ -74,7 +74,7 @@ export function CreateTokenDialog(p: {
|
||||
read_only: false,
|
||||
right_account: false,
|
||||
right_movement: false,
|
||||
right_attachment: true,
|
||||
right_file: true,
|
||||
right_auth: true,
|
||||
right_inbox: true,
|
||||
});
|
||||
@ -181,12 +181,12 @@ export function CreateTokenDialog(p: {
|
||||
<br />
|
||||
<CheckboxInput
|
||||
editable
|
||||
label="Right: attachment routes"
|
||||
checked={newToken.right_attachment}
|
||||
label="Right: file routes"
|
||||
checked={newToken.right_file}
|
||||
onValueChange={(v) => {
|
||||
setNewToken({
|
||||
...newToken,
|
||||
right_attachment: v,
|
||||
right_file: v,
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user