Skip to content

get_objects_for_user behavior change #325

@xordoquy

Description

@xordoquy

I tried running Django REST Framework test suite against the django-guardian 1.3 and we have a failing test case that was passing with 1.2.5

https://travis-ci.org/tomchristie/django-rest-framework/jobs/65945259
which corresponds to this test: https://github.com/tomchristie/django-rest-framework/blob/master/tests/test_permissions.py#L373

By investigating a bit, it seems the get_objects_for_user has changed.
For this test in 1.2.5 it returned an empty list, while it's now - 1.3 - a non empty list

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy