Skip to content
New issue

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

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

Already on GitHub? # to your account

Dont use sudo while creating milestones. #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

abbbi
Copy link
Contributor

@abbbi abbbi commented Jul 25, 2021

During migration of some bugzilla tickets i noticed random 403
forbidden errors during milestone creation. Just as during issue
creation, the sudo flag is set for creating a milestone too, means it
attempts to create the milestone with the user the current ticket is
processed (and which was missing some access rights in my case).

As we are using an administrative account for migration anyways its not
requird to set sudo value in the headers and i think it is perfectly
fine to use the project's administrative account to create them.

During migration of some bugzilla tickets i noticed random  403
forbidden errors during milestone creation. Just as during issue
creation, the sudo flag is set for creating a milestone too, means it
attempts to create the milestone with the user the current ticket is
processed (and which was missing some access rights in my case).

As we are using an administrative account for migration anyways its not
requird to set sudo value in the headers and i think it is perfectly
fine to use the project's administrative account to create them.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant