aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

[ADD] DataProvider API endpoint #1371

Closed natacha-beck closed 4 months ago

prioux commented 5 months ago

Rejected after discussions

prioux commented 4 months ago

Line 161:

format.json { render      :json   => @provider }

There is no .to_api() method invoked, which means the returned objects contains sensitive information (e.g. tokens) that should never be returned back on the API channel.