Unverified Commit 47ec11e5 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #19768 from davelopez/24.2_fix_rdm_token_access

[24.2] Fix RDM token access for user-defined file sources
parents c142228e 04433828
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -201,11 +201,8 @@ class RDMFilesSource(BaseFilesSource):
        return effective_props

    def get_authorization_token(self, user_context: OptionalUserContext) -> Optional[str]:
        token = None
        if user_context:
        effective_props = self._serialization_props(user_context)
            token = effective_props.get("token")
        return token
        return effective_props.get("token")

    def get_public_name(self, user_context: OptionalUserContext) -> Optional[str]:
        effective_props = self._serialization_props(user_context)