Adam Dobrawy

Results 369 comments of Adam Dobrawy

It make sense to warn about generator. Could you provide pull requests for that? Alternatively, convert the generator to a list before using it for the first time.

@philipstarkey could you provide pull request with test & fix for that?

@levivm , does the user actually have the permission? Is it global or specific to the object. A simple set of instructions (e.g. with the example project included) I can...

@BenDevelopment , cannot reproduce. Do you can prepare a test case? It pass for me (Django 1.10, django-guardian 1, 4, 5) in my app `monitorings`: ``` python def test_get_objects_for_user(self): #...

@BenDevelopment , are you use self.request.user isn't superuser? WorkoutModel use direct foreign key or generic ( https://django-guardian.readthedocs.io/en/stable/userguide/performance.html )? Which django and django-guardian do you use?

@Nijhazer , do you can provide SQL queries? eg. ```python import logging l = logging.getLogger('django.db.backends') l.setLevel(logging.DEBUG) l.addHandler(logging.StreamHandler()) ```

Hello, I tried reproduce your issue, but I can't. Propably I something miss. Here is a queries which I achieved: ``` (0.000) SELECT "django_content_type"."app_label", "auth_permission"."codename" FROM "auth_permission" INNER JOIN "auth_user_user_permissions"...

@Nijhazer , @BenDevelopment , do yo use superuser as user with permissions?

@jfschaff , do you user superuser as user with/without permissions? Superuser has all permissions regardless whether you assign it to him or not.

> To handle the handshake and storing the credentials, use python-social-auth. https://django-mailbox.readthedocs.io/en/latest/topics/mailbox_types.html#gmail-imap-with-oauth2-authentication See: https://github.com/coddingtonbear/django-mailbox/blob/26786a0b3200515d490ecb69e1bc5b86efcc0ffb/django_mailbox/transports/gmail.py#L36-L49 https://github.com/coddingtonbear/django-mailbox/blob/26786a0b3200515d490ecb69e1bc5b86efcc0ffb/django_mailbox/google_utils.py#L27-L33