Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable/Disable features by config file or query params #5

Closed
joni2back opened this issue Apr 23, 2015 · 1 comment
Closed

Enable/Disable features by config file or query params #5

joni2back opened this issue Apr 23, 2015 · 1 comment

Comments

@joni2back
Copy link
Owner

Admin will enable or disable filemanager features/modules such as compress or permissions setting in a config file

@joni2back
Copy link
Owner Author

Setting by query param (overriding config file)

$scope.isWindows = $scope.getQueryParam('server') === 'Windows';
$scope.config.enableCompressChooseName = $scope.isWindows;
$scope.config.enablePermissionsModule = !$scope.isWindows;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant