Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If user is already super user, no need to set super user flag #15329

Merged
merged 1 commit into from Dec 31, 2019

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Dec 31, 2019

It shouldn't change any logic. While debugging noticed some nested doAsSuperUser calls and was wondering if this could cause random issues... Also if actually logged in user is already super user, we don't need to fake anything...

It shouldn't change any logic. While debugging noticed some nested `doAsSuperUser` calls and was wondering if this could cause random issues...  Also if actually logged in user is already super user, we don't need to fake anything...
@tsteur tsteur added the Needs Review PRs that need a code review label Dec 31, 2019
@tsteur tsteur added this to the 3.13.1 milestone Dec 31, 2019
@diosmosis diosmosis merged commit b622966 into 3.x-dev Dec 31, 2019
@diosmosis diosmosis deleted the issuperuser branch December 31, 2019 17:56
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
…-org#15329)

It shouldn't change any logic. While debugging noticed some nested `doAsSuperUser` calls and was wondering if this could cause random issues...  Also if actually logged in user is already super user, we don't need to fake anything...
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
…-org#15329)

It shouldn't change any logic. While debugging noticed some nested `doAsSuperUser` calls and was wondering if this could cause random issues...  Also if actually logged in user is already super user, we don't need to fake anything...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants