Skip to content

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Nov 16, 2022

The default behavior was to use 'true' for missing variables. This was an incorrect assumption. If the variable is missing, the new default is to deny (fail secure).

Fixes #5103

The default behavior was to use 'true' for missing variables. This
was an incorrect assumption. If the variable is missing, the new
default is to deny (fail secure).
@@ -470,7 +470,7 @@ func (t opInternalMember2) SQLString(cfg SQLConfig) string {
}

if sqlType == VarTypeSkip {
return "true"
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the mistake 😢

@Emyrk Emyrk requested a review from kylecarbs November 16, 2022 16:04
@Emyrk Emyrk merged commit 015a6f9 into main Nov 16, 2022
@Emyrk Emyrk deleted the stevenmasley/rbac_deny branch November 16, 2022 17:01
@github-actions github-actions bot locked and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: a member user sees all workspaces in CLI
2 participants