[MM-25748]Allow access to managed resources (#1311)
* init of a branch * Add more descriptive comment * fix for linter errors * Refactor of popup code Remove isTrustedPopupWindow check in setPermissionRequestHandler Check which UA needs to be sent depending on a url * Update src/utils/util.js Co-authored-by: Guillermo Vayá <guivaya@gmail.com> * Remove commented code: * Revert package.json and package-lock.json to original ones * Implement buildConfig support for multiple trusted resources * Fix for a typo * add comments * code cleanup Co-authored-by: Dusan Panic <dusan@salestrekker.com> Co-authored-by: dpanic <dpanic@0point.co> Co-authored-by: Guillermo Vayá <guivaya@gmail.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
* @prop {boolean} enableServerManagement - Whether users can edit servers configuration.
|
||||
* Specify at least one server for "defaultTeams"
|
||||
* when "enableServerManagement is set to false
|
||||
* @prop {[]} managedResources - Defines which paths are managed
|
||||
*/
|
||||
const buildConfig = {
|
||||
defaultTeams: [/*
|
||||
@@ -26,6 +27,7 @@ const buildConfig = {
|
||||
helpLink: 'https://about.mattermost.com/default-desktop-app-documentation/',
|
||||
enableServerManagement: true,
|
||||
enableAutoUpdater: true,
|
||||
managedResources: ['trusted'],
|
||||
};
|
||||
|
||||
export default buildConfig;
|
||||
|
Reference in New Issue
Block a user