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

Feature/1438 visible for groups within tool options #1449

Merged
merged 5 commits into from
Dec 20, 2023

Conversation

jesade-vbg
Copy link
Contributor

Closes #1438

Comment on lines 196 to +201
# For development and testing purposes, a user name can be supplied here.
# Make sure to always disable this in production!
#AD_OVERRIDE_USER_WITH_VALUE=someUser
# AD_OVERRIDE_USER_WITH_VALUE=someUser
# For development and testing purposes, groups can be supplied here.
# Make sure to always disable this in production!
# AD_OVERRIDE_USER_GROUPS_WITH_VALUE=someGroup1,someGroup2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a quick look at the comment related to these keys and this got me thinking: should we be a bit harder on this and actually not allow these keys at all (or ignore their values in code), if NODE_ENV=production (see line 24). What's your opinion?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, its a really good idea actually. Prevents .env accidents even more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check added:
9fd17fa

@jesade-vbg jesade-vbg marked this pull request as ready for review December 20, 2023 09:32
@jesade-vbg jesade-vbg linked an issue Dec 20, 2023 that may be closed by this pull request
@jesade-vbg jesade-vbg merged commit 8a3b85f into develop Dec 20, 2023
@jesade-vbg jesade-vbg deleted the feature/1438-visibleForGroups-within-tool-options branch December 20, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

node backend: visibleForGroups within tool options
2 participants