KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
755 stars 4.42k forks source link

[Submit] button allows double-scheduling Offboarding Wizard #2614

Open JeremyMcM opened 3 days ago

JeremyMcM commented 3 days ago

Description

  1. Open the Offboarding Wizard.
  2. Select a Tentant and user.
  3. Select removal options.
  4. Enable the "Schedule this offboarding" option.
  5. Select a future date/time.
  6. Click [Next].
  7. Confirm the options and click [Submit].

The resulting page with the "Successfully added task: ***" message has a functional "Submit" button that if clicked, will create a second (third?) scheduled event with the same settings.

This button should be removed or disabled on this page to keep from this ever happening.

:-J

P.S. I could see this being considered a Feature Request and not a bug. If so, I would be glad to reclassify or resubmit at your request. Thanks!

image

Environment data

Sponsored
Front End Version: 5.9.3
Back End Version: 5.9.4
Tried Tenant Cache Clear: True
Tried Token Cache Clear: True
github-actions[bot] commented 3 days ago

Thank you for creating a bug. Please make sure your bug is indeed a unique case by checking current and past issues, and reading the complete documentation at https://docs.cipp.app/ If your bug is a known documentation issue, it will be closed without notice by a contributor. To confirm that this is not a bug found in the documentation, please copy and paste the following comment: "I confirm that I have checked the documentation thoroughly and believe this to be an actual bug."

Without confirming, your report will be closed in 24 hours. If you'd like this bug to be assigned to you, please comment "I would like to work on this please!".

JeremyMcM commented 3 days ago

I confirm that I have checked the documentation thoroughly and believe this to be an actual bug.