commit | 657501eff1523e3e84bcbec24c3b7e8a1c5a21ed | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Nov 16 00:32:45 2016 -0800 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Nov 16 00:36:22 2016 -0800 |
tree | 1364a61270c1039601f922e4c0906bab3c44064f | |
parent | c2f158af2c34383521b14eb060e01b116f0b5ae6 [diff] |
Consolidate common capability checks in a utility class The checks for user capability are repeated in both the monitoring filter and the top menu. Consolidate it into a helper class that is used in both places, simplifying the code and reducing duplication. Change-Id: I287608e8c72227985c55ca994bb82122b63250e1