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

Allow setting a network policy for tenant global #17028

Open
flaneur2020 opened this issue Dec 11, 2024 · 0 comments
Open

Allow setting a network policy for tenant global #17028

flaneur2020 opened this issue Dec 11, 2024 · 0 comments
Assignees

Comments

@flaneur2020
Copy link
Member

Summary

at the moment, network policy is bound to user, but in enterprise scenario, there's also need to have setting a global network policy, to restrict only arbitrary IP segments can access the query service.

like:

SET GLOBAL NETWORK_POLICY = 'mypolicy'; // set the policy
SET GLOBAL NETWORK_POLICY = '';         // unset the policy

we should only allow account_admin to edit global network policy in the tenant.

also, we could consider to allow the users with account_admin bypass the network policies, to have a way to recover themselves from being blocked by misconfigured network policies.

@flaneur2020 flaneur2020 assigned everpcpc and unassigned b41sh Dec 11, 2024
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

No branches or pull requests

3 participants