The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/app/authorization/lib/index.ts

12 lines
339 B

import type { ISetting } from '@rocket.chat/core-typings';
export const getSettingPermissionId = function (settingId: ISetting['_id']) {
// setting-based permissions
return `change-setting-${settingId}`;
};
export const CONSTANTS = {
SETTINGS_LEVEL: 'settings',
} as const;
export { AuthorizationUtils } from './AuthorizationUtils';