Merge branch '12995-wb-merge-acct' refs #12995
[arvados.git] / services / api / app / controllers / arvados / v1 / schema_controller.rb
index 91685f59988bf1a852a7a25a2aa46f47a3f32300..adac9960c41a06fff4da68da67e87a0ebf6facd6 100644 (file)
@@ -123,7 +123,7 @@ class Arvados::V1::SchemaController < ApplicationController
         end
         object_properties = {}
         k.columns.
-          select { |col| col.name != 'id' }.
+          select { |col| col.name != 'id' && !col.name.start_with?('secret_') }.
           collect do |col|
           if k.serialized_attributes.has_key? col.name
             object_properties[col.name] = {