Searched refs:defaultRestrictions (Results 1 – 2 of 2) sorted by relevance
1642 final String[] defaultRestrictions = UserRestrictionsUtils in testSetUserRestriction_asDo() local1645 DpmTestUtils.newRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()1649 DpmTestUtils.newRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()1654 MockUtils.checkUserRestrictions(defaultRestrictions), in testSetUserRestriction_asDo()1660 for (String restriction : defaultRestrictions) { in testSetUserRestriction_asDo()1910 String[] defaultRestrictions = UserRestrictionsUtils in testDefaultEnabledUserRestrictions() local1912 assertTrue(defaultRestrictions.length > 0); in testDefaultEnabledUserRestrictions()1914 DpmTestUtils.newRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()1918 DpmTestUtils.newRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()1923 MockUtils.checkUserRestrictions(defaultRestrictions), in testDefaultEnabledUserRestrictions()[all …]
2427 int userId, ActiveAdmin admin, Set<String> defaultRestrictions) { in maybeSetDefaultRestrictionsForAdminLocked() argument2428 if (defaultRestrictions.equals(admin.defaultEnabledRestrictionsAlreadySet)) { in maybeSetDefaultRestrictionsForAdminLocked()2435 + defaultRestrictions in maybeSetDefaultRestrictionsForAdminLocked()2440 final Set<String> restrictionsToSet = new ArraySet<>(defaultRestrictions); in maybeSetDefaultRestrictionsForAdminLocked()