add: user grants

TODO: add grant creation api, grant tab in sessions tab of settings, grant api endpoints
This commit is contained in:
trisua 2025-05-31 14:38:38 -04:00
parent 7de2c2e935
commit bf27c51ad3
8 changed files with 98 additions and 7 deletions

View file

@ -198,10 +198,11 @@ pub(crate) async fn replace_in_html(
let mut input = if !lisp {
input.to_string()
} else {
let parsed = bberry::parse(input);
if let Some(plugins) = plugins {
bberry::parse(input).render(plugins)
parsed.render(plugins)
} else {
bberry::parse(input).render_safe()
parsed.render_safe()
}
};

View file

@ -10,7 +10,7 @@
("class" "card small flex items-center justify-between gap-2")
(span
("class" "flex items-center gap-2")
(text "{{ icon scroll-text }}")
(icon (text "scroll-text"))
(span (text "{{ file_name }}"))))
(div

View file

@ -582,7 +582,7 @@
method: "POST",
})
.then((res) => res.json())
.then(async (res) => {
.then(async (_) => {
// create challenge and store
const verifier = await trigger("connections::pkce_verifier", [
128,