Searched refs:defaultRestrictions (Results 1 – 2 of 2) sorted by relevance
1600 final String[] defaultRestrictions = UserRestrictionsUtils in testSetUserRestriction_asDo() local1603 DpmTestUtils.newRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()1607 DpmTestUtils.newRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()1612 MockUtils.checkUserRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()1618 for (String restriction : defaultRestrictions) { in testSetUserRestriction_asDo()1857 String[] defaultRestrictions = UserRestrictionsUtils in testDefaultEnabledUserRestrictions() local1859 assertTrue(defaultRestrictions.length > 0); in testDefaultEnabledUserRestrictions()1861 DpmTestUtils.newRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()1865 DpmTestUtils.newRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()1870 MockUtils.checkUserRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()[all …]
2310 int userId, ActiveAdmin admin, Set<String> defaultRestrictions) { in maybeSetDefaultRestrictionsForAdminLocked() argument2311 if (defaultRestrictions.equals(admin.defaultEnabledRestrictionsAlreadySet)) { in maybeSetDefaultRestrictionsForAdminLocked()2318 + defaultRestrictions in maybeSetDefaultRestrictionsForAdminLocked()2323 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked()