dev: register PermissionUtil

This commit is contained in:
KernelDeimos 2024-11-27 16:29:57 -05:00
parent d014814c36
commit c5cd8cc219

View File

@ -58,6 +58,7 @@ const install = async ({ services, app, useapi, modapi }) => {
def('Library', Library);
def('core.util.helpers', require('./helpers'));
def('core.util.permission', require('./services/auth/PermissionService').PermissionUtil);
def('puter.middlewares.auth', require('./middleware/auth2'));
def('puter.middlewares.anticsrf', require('./middleware/anticsrf'));