OF: tooling is now a working ldap entity, no need to hardcode
diff --git a/app/lib/ldap.py b/app/lib/ldap.py
index a90be49..6db93be 100644
--- a/app/lib/ldap.py
+++ b/app/lib/ldap.py
@@ -154,16 +154,4 @@
except AssertionError as ex:
raise OAuthException("Common backend assertions failed, LDAP corruption?") from ex
- # Get tooling membership
- try:
- result = await asfpy.clitools.ldapsearch_cli_async(ldap_base=LDAP_TOOLING_BASE, ldap_scope="base")
- assert len(result) == 1
- members = result[0].get("member")
- assert type(members) is list and len(members) > 1
- if LDAP_DN % self.user in members:
- self.pmcs.append("tooling")
- self.projects.append("tooling")
- except AssertionError as ex:
- raise OAuthException("Common backend assertions failed, LDAP corruption?") from ex
-
return self.__dict__