skip_before_action :verify_authenticity_token
before_action :check_api_readable, :except => [:capabilities]
before_action :setup_user_auth, :only => [:permissions]
skip_before_action :verify_authenticity_token
before_action :check_api_readable, :except => [:capabilities]
before_action :setup_user_auth, :only => [:permissions]