Release v2.17.0: add read-only user previews and access fallbacks
This commit is contained in:
1 parent
11dd801f6d
commit
9c28eca3ef
52 files changed
+1624
-140
No files matched your search
+3
-2
@@ -4,7 +4,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const Handlebars = require('handlebars');
|
||||
const { version: appVersion } = require('#root/package.json');
|
||||
const { hasPermission, hasAnyPermission } = require('#src/rbac');
|
||||
const { hasPermission, hasAnyPermission, hasAssignedPermission } = require('#src/rbac');
|
||||
const { registerHandlebars } = require('#src/web/handlebars');
|
||||
const { getMessageVariant: inferMessageVariant } = require('#src/web/public/js/toast');
|
||||
|
||||
@@ -15,7 +15,8 @@ const SIGNAGE_VIEW_PREFIXES = new Set(['dashboard', 'clients', 'screens', 'playl
|
||||
registerHandlebars(Handlebars, {
|
||||
viewsRoot: VIEWS_ROOT,
|
||||
hasPermission: hasPermission,
|
||||
hasAnyPermission: hasAnyPermission
|
||||
hasAnyPermission: hasAnyPermission,
|
||||
hasAssignedPermission: hasAssignedPermission
|
||||
});
|
||||
|
||||
function resolveTemplatePath(relativePath) {
|
||||
|
||||
Reference in new issue
Block a user