Input fields require a 44x44 pixels target size, this makes all the input fields and button use that size. Bonus is that now the input fields and buttons now have the same size as the new vue button and this looks less weird than the previous state with controls of different sizes. See https://www.w3.org/WAI/WCAG21/Understanding/target-size.html Signed-off-by: Carl Schwan <carl@carlschwan.eu>pull/33259/head
parent
329687ecff
commit
68ed1af3c0
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,33 @@ |
||||
--- apps/user_ldap/lib/Group_LDAP.php |
||||
+++ apps/user_ldap/lib/Group_LDAP.php |
||||
@@ -62,7 +62,7 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I |
||||
protected CappedMemoryCache $cachedGroupsByMember; |
||||
/** @var CappedMemoryCache<string[]> $cachedNestedGroups array of groups with gid (DN) as key */ |
||||
protected CappedMemoryCache $cachedNestedGroups; |
||||
- protected GroupInterface $groupPluginManager; |
||||
+ protected GroupPluginManager $groupPluginManager; |
||||
protected LoggerInterface $logger; |
||||
|
||||
/** |
||||
@@ -243,8 +243,9 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I |
||||
* @psalm-param array<string, bool> $seen List of DN that have already been processed. |
||||
* @throws ServerNotAvailableException |
||||
*/ |
||||
- private function _groupMembers(string $dnGroup, array &$seen = []): array { |
||||
+ private function _groupMembers(string $dnGroup, array $seen = [], bool &$recursive = false): array { |
||||
if (isset($seen[$dnGroup])) { |
||||
+ $recursive = true; |
||||
return []; |
||||
} |
||||
$seen[$dnGroup] = true; |
||||
@@ -317,7 +318,9 @@ class Group_LDAP extends BackendUtility implements GroupInterface, IGroupLDAP, I |
||||
unset($allMembers[$index]); |
||||
} |
||||
|
||||
- $this->access->connection->writeToCache($cacheKey, $allMembers); |
||||
+ if (!$recursive) { |
||||
+ $this->access->connection->writeToCache($cacheKey, $allMembers); |
||||
+ } |
||||
|
||||
if (isset($attemptedLdapMatchingRuleInChain) |
||||
|
||||
Loading…
Reference in new issue