@Test
  public void testHideFilterTakesPrecedence() throws Exception {
    List<Filter> filters = Lists.newArrayList(
        linkAttributeFilter(AUTHENTICATED, false),
        linkAttributeFilter(SSO, true));
    FilterEvaluator evaluator = new FilterEvaluator(filters);
    namenodeUi.setAttributes(ImmutableList.of(AUTHENTICATED, SSO));
    assertEquals(Optional.of(false), evaluator.isVisible(namenodeUi));
  }
If the link matches both a show and hide type link attribute filter, then it will be evaluated as hidden.
ambari-server/src/test/java/org/apache/ambari/server/state/quicklinksprofile/FilterEvaluatorTest.java