Skip to content

Conversation

@kr-2003
Copy link
Contributor

@kr-2003 kr-2003 commented Jan 29, 2024

Fixes #740

  • Created a method within the Issue model to handle remove user and call issue_instance.remove_user().
  • In remove_user, we can assign self.user = None.
  • Also made sure that the user performing the action is the user on the issue or the superuser.
  • Added respective routes.
Screen.Recording.2024-01-29.at.10.07.16.AM.mov

@kr-2003
Copy link
Contributor Author

kr-2003 commented Jan 29, 2024

@DonnieBLT Kindly review this PR.

Copy link
Collaborator

@DonnieBLT DonnieBLT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, two requests. Thanks!

@kr-2003
Copy link
Contributor Author

kr-2003 commented Jan 29, 2024

Is this right way of redirection to different page? @DonnieBLT

@DonnieBLT DonnieBLT enabled auto-merge (squash) January 29, 2024 09:28
@DonnieBLT DonnieBLT merged commit 7fc039c into OWASP-BLT:main Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task: Allow the user to make the bug report anonymous after posting (remove user from the issue)

2 participants