mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Merge pull request #255 from glyptodon/settings-regression
GUAC-586: Services must not store stale auth data.
This commit is contained in:
@@ -53,14 +53,6 @@ angular.module('navigation').factory('userPageService', ['$injector',
|
||||
url : '/'
|
||||
});
|
||||
|
||||
/**
|
||||
* The identifiers of all data sources currently available to the
|
||||
* authenticated user.
|
||||
*
|
||||
* @type String[]
|
||||
*/
|
||||
var dataSources = authenticationService.getAvailableDataSources();
|
||||
|
||||
/**
|
||||
* Returns an appropriate home page for the current user.
|
||||
*
|
||||
@@ -184,7 +176,7 @@ angular.module('navigation').factory('userPageService', ['$injector',
|
||||
var canManageSessions = [];
|
||||
|
||||
// Inspect the contents of each provided permission set
|
||||
angular.forEach(dataSources, function inspectPermissions(dataSource) {
|
||||
angular.forEach(authenticationService.getAvailableDataSources(), function inspectPermissions(dataSource) {
|
||||
|
||||
// Get permissions for current data source, skipping if non-existent
|
||||
var permissions = permissionSets[dataSource];
|
||||
|
Reference in New Issue
Block a user