From 407022bcd680f5d42ae1bfd8423b61530c2c5ea7 Mon Sep 17 00:00:00 2001 From: Jonathon Broughton <760691+jsdbroughton@users.noreply.github.com> Date: Tue, 5 Nov 2024 16:19:53 +0000 Subject: [PATCH] enhancement(GH): Add Scope instruction text for access with token nodes (#3644) Adds Scope instructions to help for token access to Streams and Accounts Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com> Co-authored-by: Alan Rynne --- .../Accounts/Accounts.ServerAccount.cs | 2 +- .../Streams/StreamGetWithTokenComponent.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ConnectorGrasshopper/ConnectorGrasshopperShared/Accounts/Accounts.ServerAccount.cs b/ConnectorGrasshopper/ConnectorGrasshopperShared/Accounts/Accounts.ServerAccount.cs index bb7b31d994..10b90beac3 100644 --- a/ConnectorGrasshopper/ConnectorGrasshopperShared/Accounts/Accounts.ServerAccount.cs +++ b/ConnectorGrasshopper/ConnectorGrasshopperShared/Accounts/Accounts.ServerAccount.cs @@ -16,7 +16,7 @@ public ServerAccountComponent() : base( "Account from Server/Token", "AccST", - "Returns an account based on a Server URL and a token. URL can be a stream url too.\n TREAT EACH TOKEN AS A PASSWORD AND NEVER SHARE/SAVE IT IN THE FILE ITSELF", + "Returns an account based on a Server URL and a token. URL can be a stream url too.\n You'll need to raise a token with at least Profile:Read and Stream:Read to access your account data. Add Stream:Write to enable publishing.\n TREAT EACH TOKEN AS A PASSWORD AND NEVER SHARE/SAVE IT IN THE FILE ITSELF", ComponentCategories.PRIMARY_RIBBON, ComponentCategories.COMPUTE ) diff --git a/ConnectorGrasshopper/ConnectorGrasshopperShared/Streams/StreamGetWithTokenComponent.cs b/ConnectorGrasshopper/ConnectorGrasshopperShared/Streams/StreamGetWithTokenComponent.cs index 8fdd046435..b628b3cc38 100644 --- a/ConnectorGrasshopper/ConnectorGrasshopperShared/Streams/StreamGetWithTokenComponent.cs +++ b/ConnectorGrasshopper/ConnectorGrasshopperShared/Streams/StreamGetWithTokenComponent.cs @@ -16,7 +16,7 @@ public StreamGetWithTokenComponent() : base( "Stream Get with Token", "SGetWT", - "Returns a stream that will authenticate with a specific user by their Personal Access Token.\n TREAT EACH TOKEN AS A PASSWORD AND NEVER SHARE/SAVE IT IN THE FILE ITSELF", + "Returns a stream that will authenticate with a specific user by their Personal Access Token.\n You'll need to raise a token with at least Profile:Read and Stream:Read to access your account data. Add Stream:Write to enable publishing.\n TREAT EACH TOKEN AS A PASSWORD AND NEVER SHARE/SAVE IT IN THE FILE ITSELF", ComponentCategories.PRIMARY_RIBBON, ComponentCategories.COMPUTE )