Github user jmuehlner commented on a diff in the pull request:
https://github.com/apache/incubator-guacamole-client/pull/158#discussion_r118810040
--- Diff: guacamole/src/main/webapp/app/form/directives/form.js ---
@@ -163,6 +181,59 @@ angular.module('form').directive('guacForm', [function
form() {
});
+ /**
+ * Returns whether the given field should be displayed to the
+ * current user.
+ *
+ * @param {Field} field
+ * The field to check.
+ *
+ * @returns {Boolean}
+ * true if the given field should be visible, false
otherwise.
+ */
+ $scope.isVisible = function isVisible(field) {
+
+ // Forms with valuesOnly set should display only fields
with
+ // associated values in the model object
+ if ($scope.valuesOnly)
--- End diff --
I don't see "valuesOnly" ever being used - is there a plan to use it later?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---