-
Notifications
You must be signed in to change notification settings - Fork 460
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
More fine-grained permissions for Fact Tables and SDK Connections #2503
Changes from 4 commits
56bce54
42f5aa9
9d33eff
6b5959a
e0f1c03
d6f6efa
b72d447
de0bb45
4c13d2e
9ab33e0
60a30e8
90e98dc
94e8976
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import { | |
export const ENV_SCOPED_PERMISSIONS = [ | ||
"publishFeatures", | ||
"manageEnvironments", | ||
"manageSDKConnections", | ||
"runExperiments", | ||
] as const; | ||
|
||
|
@@ -21,7 +22,9 @@ export const PROJECT_SCOPED_PERMISSIONS = [ | |
"createAnalyses", | ||
"createIdeas", | ||
"createMetrics", | ||
"manageFactMetrics", | ||
"manageFactTables", | ||
"manageFactFilters", | ||
"createDatasources", | ||
"editDatasourceSettings", | ||
"runQueries", | ||
|
@@ -40,7 +43,8 @@ export const GLOBAL_PERMISSIONS = [ | |
"manageTags", | ||
"manageApiKeys", | ||
"manageIntegrations", | ||
"manageWebhooks", | ||
"manageEventWebhooks", | ||
"manageSDKWebhooks", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thinking about this more, I think we should make a breaking change and grant There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sounds good. So, just to clarify, we'll keep the change that removes And we'll update engineer and experimenter roles to include In these changes, I think it also makes sense to change the scoping of |
||
"manageBilling", | ||
"manageNorthStarMetric", | ||
"manageNamespaces", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be moved to
ENV_SCOPED_PERMISSIONS
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file in back-end is not being used. I deleted it in the other PR.