From 5a455b78ac11d45d264b2f015d07963a757aaa07 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Sat, 18 May 2024 01:45:21 +0100 Subject: [PATCH] Permissions got broken --- database/clientstore.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/database/clientstore.go b/database/clientstore.go index 1e1c1fc..a9a332a 100644 --- a/database/clientstore.go +++ b/database/clientstore.go @@ -20,3 +20,6 @@ func (c *ClientStore) IsSSO() bool { return c.Sso } // IsActive is an extra field for the app manager to get the active state func (c *ClientStore) IsActive() bool { return c.Active } + +// UsePerms is an extra field for the userinfo handler to return user permissions matching the requested values +func (c *ClientStore) UsePerms() string { return c.Perms }