Skip to content

Commit

Permalink
dev: register PermissionUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelDeimos committed Nov 27, 2024
1 parent d014814 commit c5cd8cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/src/CoreModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

Expand Down

0 comments on commit c5cd8cc

Please sign in to comment.