mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
Connection parameters should be listed if admin permission present. Connection section of user profile should be shown if admin permission present.
This commit is contained in:
@@ -471,7 +471,8 @@ GuacAdmin.addUser = function(name) {
|
||||
}
|
||||
|
||||
// If readable connections exist, list them
|
||||
if (GuacAdmin.hasEntry(GuacAdmin.cached_permissions.administer_connection)) {
|
||||
if (GuacAdmin.cached_permissions.administer ||
|
||||
GuacAdmin.hasEntry(GuacAdmin.cached_permissions.administer_connection)) {
|
||||
|
||||
// Add fields for per-connection checkboxes
|
||||
var connections_header = GuacUI.createChildElement(sections, "dt");
|
||||
|
Reference in New Issue
Block a user