Add feature flag for the GraphQL API

This commit is contained in:
Juanjo Bazán
2017-11-23 12:11:27 +01:00
committed by Javi Martín
parent bb627a7117
commit 0063e7b4d8
5 changed files with 15 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
class GraphqlController < ApplicationController
include FeatureFlags
feature_flag :graphql_api
skip_before_action :verify_authenticity_token
skip_authorization_check

View File

@@ -99,6 +99,7 @@ class Setting < ApplicationRecord
"feature.translation_interface": nil,
"feature.remote_census": nil,
"feature.valuation_comment_notification": true,
"feature.graphql_api": true,
"homepage.widgets.feeds.debates": true,
"homepage.widgets.feeds.processes": true,
"homepage.widgets.feeds.proposals": true,