@@ -2409,9 +2409,7 @@ trait APIMethods600 {
24092409 |A connector is available for method routing if it matches the `connector` prop setting,
24102410 |or if `connector=star` and the connector is listed in `starConnector_supported_types`.
24112411 |
2412- |${userAuthenticationMessage(true)}
2413- |
2414- |CanGetConnectorNames entitlement is required.
2412+ |Authentication is Optional.
24152413 |
24162414 """.stripMargin,
24172415 EmptyBody,
@@ -2422,20 +2420,17 @@ trait APIMethods600 {
24222420 ConnectorInfoJsonV600("stored_procedure_vDec2019", false)
24232421 )),
24242422 List(
2425- $AuthenticatedUserIsRequired,
2426- UserHasMissingRoles,
24272423 UnknownError
24282424 ),
24292425 List(apiTagConnector, apiTagSystem, apiTagApi),
2430- Some(List(canGetConnectorNames))
2426+ None
24312427 )
24322428
24332429 lazy val getConnectors: OBPEndpoint = {
24342430 case "system" :: "connectors" :: Nil JsonGet _ =>
24352431 cc => implicit val ec = EndpointContext(Some(cc))
24362432 for {
2437- (Full(u), callContext) <- authenticatedAccess(cc)
2438- _ <- NewStyle.function.hasEntitlement("", u.userId, canGetConnectorNames, callContext)
2433+ (_, callContext) <- anonymousAccess(cc)
24392434 } yield {
24402435 // Get the connector names from the Connector object's nameToConnector map
24412436 // Also include "star" which is handled separately in getConnectorInstance
0 commit comments