crud icon indicating copy to clipboard operation
crud copied to clipboard

CrudAuth.filter is not respected by PUT endpoint

Open asaf050 opened this issue 4 years ago • 2 comments

Hi :)

According to the documentation, the filter parameter inside the AuthGuard decorator should modify/append Auth related condition to the service queries.

However, it seems that those conditions are not being respected when executing the PUT endpoint. It does respect when trying everything else (GET, PATCH etc.).

Any idea?

Thanks

asaf050 avatar Jun 07 '20 14:06 asaf050

Hi, I'm also interested in the resolution of this issue. I'm wondering if it's related to #384 and/or #633 as well

cohlar avatar Dec 17 '20 14:12 cohlar

I have the same issue. PATCH is honored as I get a 404 if I want to access another users models, but for PUT I can manipulate different IDs via the URL...

0x7061 avatar Sep 23 '21 12:09 0x7061