We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef0939 commit d1e1babCopy full SHA for d1e1bab
enterprise/coderd/coderd.go
@@ -924,9 +924,3 @@ func (api *API) runEntitlementsLoop(ctx context.Context) {
924
func (api *API) Authorize(r *http.Request, action rbac.Action, object rbac.Objecter) bool {
925
return api.AGPL.HTTPAuth.Authorize(r, action, object)
926
}
927
-
928
-func (api *API) fetchEntitlements() codersdk.Entitlements {
929
- api.entitlementsMu.RLock()
930
- defer api.entitlementsMu.RUnlock()
931
- return api.entitlements
932
-}
0 commit comments