mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 14:20:22 +08:00
dev: register PermissionUtil
This commit is contained in:
parent
d014814c36
commit
c5cd8cc219
@ -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'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user