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()
}
};