Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accounts per Project (Suitecloud for vscode) #542

Open
ghost opened this issue Feb 18, 2022 · 5 comments
Open

Accounts per Project (Suitecloud for vscode) #542

ghost opened this issue Feb 18, 2022 · 5 comments
Labels
awaiting cases Awaiting similar enhancement requests enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Feb 18, 2022

As far as I know the accounts that are configured in Visual Studio Code with "Suitecloud: Set Up Accounts" are global and not project-based.

In my case I am working on many Netsuite platforms. I created separated projects but it is very dangerous to have shared accounts: accidentally I could deploy the file on the wrong Netsuite environment.

@alii-gator
Copy link
Member

This is by design and default authids are set per project.
User can set default account in project.json which doesn't need to be changed whenever you deploy.
What's your suggestion or desired flow?

@ghost
Copy link
Author

ghost commented Mar 17, 2022

Thanks Mohammed for your response.
The focus of my issue is not related to the DEFAULT auth ids but rather to the LIST of the available auth ids.
Tipically for each project I'll have two auth ids (one for production, one for sandbox) and I'll change the default depending on the needs.

What in my opinion is very risky is the possibility to choose the default id among all the ids, including those accounts that are not actually related with the current project.

The expected behavior is a list that is filtered by project. I think that this could be achieved by not saving the accounts globally but in a project file instead.

How do you feel about it?

Thanks in advance.

@ghost
Copy link
Author

ghost commented Mar 31, 2022 via email

@alii-gator
Copy link
Member

@mtoniato This is very unique concern. Usually the authids should be descriptive enough to identify the account name etc.
But I understand the concern, But this will require some more investigation because these credentials are not just used in VSCode but all the tools in SuiteCloud ecosystem (Suitecloud plugin for WebStorm, SDF CLI, SuiteCloud cli for NodeJS etc).

So we will wait for more cases on this and if we reach a sufficient amount of votes we can consider it for an enhancement.

@alii-gator alii-gator added enhancement New feature or request awaiting cases Awaiting similar enhancement requests labels Apr 5, 2022
@ShawnTalbert
Copy link

I agree the account list should be (at least optionally) a project-specific list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting cases Awaiting similar enhancement requests enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants