feast-dev / feast

The Open Source Feature Store for Machine Learning
https://feast.dev
Apache License 2.0
5.62k stars 1k forks source link

Wrong permission asserts on materialize endpoints #4726

Closed dmartinol closed 2 weeks ago

dmartinol commented 3 weeks ago

Expected Behavior

The assert_permissions function expects a resources of type FeastObject.

Current Behavior

Materialization endpoints in feature_server module receive instead a str, as in /materialize and /materialize_incremental

Possible Solution

Fetch the FeatureViews like the /write-to-online-store endpoint