Hélder Oliveira

Results 6 comments of Hélder Oliveira

> Then if `scoped_queryset` turns out empty (users role is outside of if-clauses or user is neither author nor reviewer of any requested object) , mixin will return the view's...

```python def get_queryset(self): queryset = super().get_queryset() scope_queryset = self.access_policy.scope_queryset if scope_queryset.__name__ not in self.access_policy.__dict__: return queryset return scope_queryset(self.request, queryset) ``` > I think that it will always evaluates to false...

I agree, but it'll be a breaking change. Apps that didn't override `scope_queryset` in Access Policies classes will return the empty queryset instead of the ViewSet's queryset. If I'm not...

Hey buddy, have you already solved? If not, you can create specific statements on access policy class with conditions to each action, or make a if-else statement where `get_object` is...

Hi there, Could you test by changing UDA to USER in .taskrc? It seems to work that way for me, I don't know if it fits in your specific case....