mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 08:30:39 +00:00
dev: register PermissionUtil
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
This commit is contained in:
@@ -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'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user