Skip to content

Commit c5cd8cc

Browse files
committed
dev: register PermissionUtil
1 parent d014814 commit c5cd8cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/src/CoreModule.js

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const install = async ({ services, app, useapi, modapi }) => {
5858
def('Library', Library);
5959

6060
def('core.util.helpers', require('./helpers'));
61+
def('core.util.permission', require('./services/auth/PermissionService').PermissionUtil);
6162
def('puter.middlewares.auth', require('./middleware/auth2'));
6263
def('puter.middlewares.anticsrf', require('./middleware/anticsrf'));
6364

0 commit comments

Comments
 (0)