Test 2 ACL

This commit is contained in:
Christopher Cookman 2025-09-01 00:07:05 -06:00
parent 2ed971fbcc
commit e1c07b4149

View file

@ -10,7 +10,7 @@ router.use((req, res, next) => {
if (perms.includes('*') || perms.includes('acl')) { if (perms.includes('*') || perms.includes('acl')) {
return next(); return next();
} }
return res.status(403).render('error', { error: 'Forbidden', button: { text: 'Back', action: 'back' } }); \ return res.status(403).render('error', { error: 'Forbidden', button: { text: 'Back', action: 'back' } });
}); });
router.get('/', async (req, res) => { router.get('/', async (req, res) => {