[arvados] updated: 2.6.0-97-ge0f045dde

git repository hosting git at public.arvados.org
Thu May 4 14:36:13 UTC 2023


Summary of changes:
 services/api/app/controllers/arvados/v1/groups_controller.rb | 6 ++++++
 1 file changed, 6 insertions(+)

       via  e0f045ddedd05716bd813f801654308d3bbd2dd0 (commit)
      from  ff843a40de882d22dd2a5e408c77a2fa4720cc7d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e0f045ddedd05716bd813f801654308d3bbd2dd0
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Thu May 4 10:34:48 2023 -0400

    20470: Disallow selecting manifest_text on group contents
    
    Because it currently won't be signed.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/api/app/controllers/arvados/v1/groups_controller.rb b/services/api/app/controllers/arvados/v1/groups_controller.rb
index 4dadaf4e2..48ae687ff 100644
--- a/services/api/app/controllers/arvados/v1/groups_controller.rb
+++ b/services/api/app/controllers/arvados/v1/groups_controller.rb
@@ -297,6 +297,12 @@ class Arvados::V1::GroupsController < ApplicationController
         where_conds = where_conds.merge(group_class: ["project","filter"])
       end
 
+      # Make signed manifest_text not selectable because controller
+      # currently doesn't know to sign it.
+      if @select
+        @select = @select - ["manifest_text"]
+      end
+
       @filters = request_filters.map do |col, op, val|
         if !col.index('.')
           [col, op, val]

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list