Can upload files

This commit is contained in:
2025-04-09 21:12:47 +02:00
parent 84e1c57dc9
commit 61a4ea62c6
24 changed files with 342 additions and 61 deletions

View File

@ -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,
});
}}
/>