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:
1 parent
4a9e1484db
commit
33fbc857f8
2 files changed
+9
-2
No files matched your search
@@ -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