Add login support and oobe

This commit is contained in:
2026-01-29 15:08:12 -06:00
parent c3ef57b8b6
commit 3919384b57
16 changed files with 1386 additions and 70 deletions

View File

@@ -0,0 +1,15 @@
func Pages.WhoAmI(row)
{
const html = <null>
<h5>Your username is: {row.username}</h5>
<h6>Permissions: </h6>
<ul>
<li>Is admin: {UserFlags.IsAdmin(row.flags)}</li>
<li>Can download database: {UserFlags.CanDownloadDB(row.flags)}</li>
<li>Can use plugins: {UserFlags.CanUsePlugins(row.flags)}</li>
<li>Can manage plugins: {UserFlags.CanManagePlugins(row.flags)}</li>
</ul>
</null>;
return Components.Shell("Settings",html ,3);
}