You are viewing a plain text version of this content. The canonical link for it is here.
Posted to custos@airavata.apache.org by "yasithdev (via GitHub)" <gi...@apache.org> on 2026/06/14 02:39:29 UTC

[PR] Seed the dev SFTP credential as a sharing entity and set the gateway default token [airavata]

yasithdev opened a new pull request, #687:
URL: https://github.com/apache/airavata/pull/687

   The seeded SFTP credential token had a `credentials` row but no sharing-registry `entity`, so `getAllCredentialSummaries` (which is sharing-scoped via `searchEntityIds`) returned nothing — `/admin/credentials` was empty and the gateway resource profile showed no default SSH credential. This adds the `default:CREDENTIAL_TOKEN` sharing entity + `OWNER` grant for `default-admin` (mirroring how `generateAndRegisterSSHKeys` shares a newly-created credential), and sets `gateway_profile.CS_TOKEN` to the token.
   
   Test plan (applied to the live dev DB and verified): `GET /api/credential-summaries/?type=SSH` now returns the SFTP credential (previously `[]`), and `GET /api/gateway-resource-profile/` now reports `credential_store_token=24bc9035-…` (previously empty).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: custos-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Seed the dev SFTP credential as a sharing entity and set the gateway default token [airavata]

Posted by "yasithdev (via GitHub)" <gi...@apache.org>.
yasithdev merged PR #687:
URL: https://github.com/apache/airavata/pull/687


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: custos-unsubscribe@airavata.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org