mirror of
https://github.com/coder/coder.git
synced 2026-10-29 17:44:33 +08:00
feat: Dbauthz is now default, remove out of experimental (#6650)
* feat: dbauthz always on, out of experimental * Add ability to do rbac checks in unit tests * Remove AuthorizeAllEndpoints * Remove duplicate rbac checks
This commit is contained in:
@@ -1516,10 +1516,6 @@ func (c *Client) BuildInfo(ctx context.Context) (BuildInfoResponse, error) {
|
||||
type Experiment string
|
||||
|
||||
const (
|
||||
// ExperimentAuthzQuerier is an internal experiment that enables the ExperimentAuthzQuerier
|
||||
// interface for all RBAC operations. NOT READY FOR PRODUCTION USE.
|
||||
ExperimentAuthzQuerier Experiment = "authz_querier"
|
||||
|
||||
// ExperimentTemplateEditor is an internal experiment that enables the template editor
|
||||
// for all users.
|
||||
ExperimentTemplateEditor Experiment = "template_editor"
|
||||
|
||||
Reference in New Issue
Block a user