Compare commits

..

No commits in common. "7c204fb8dd1eae04e17f931a9e0c41c2ecf0cc50" and "fd175200dbb02596a3c696d25f3416955a8a6095" have entirely different histories.

3 changed files with 6 additions and 13 deletions

View File

@ -1 +1 @@
v20260112-10-fix-vspc-approve-endpoint-duplicate v20260112-09-veeam-vspc-company-mapping-popup

View File

@ -282,9 +282,13 @@ def inbox_message_approve(message_id: int):
return redirect(url_for("main.inbox")) return redirect(url_for("main.inbox"))
@main_bp.route("/inbox/<int:message_id>/approve_vspc_companies", methods=["POST"]) @main_bp.route("/inbox/message/<int:message_id>/delete", methods=["POST"])
@login_required @login_required
@roles_required("admin", "operator") @roles_required("admin", "operator")
@main_bp.route("/inbox/<int:message_id>/approve_vspc_companies", methods=["POST"])
@roles_required("admin", "operator")
def inbox_message_approve_vspc_companies(message_id: int): def inbox_message_approve_vspc_companies(message_id: int):
msg = MailMessage.query.get_or_404(message_id) msg = MailMessage.query.get_or_404(message_id)
@ -430,9 +434,6 @@ def inbox_message_approve_vspc_companies(message_id: int):
@main_bp.route("/inbox/message/<int:message_id>/delete", methods=["POST"])
@login_required
@roles_required("admin", "operator")
def inbox_message_delete(message_id: int): def inbox_message_delete(message_id: int):
msg = MailMessage.query.get_or_404(message_id) msg = MailMessage.query.get_or_404(message_id)

View File

@ -184,14 +184,6 @@
- Ensured only alarms and objects belonging to the selected company are attached to the corresponding run. - Ensured only alarms and objects belonging to the selected company are attached to the corresponding run.
- Disabled the standard job approval flow for this report type and replaced it with the company mapping workflow. - Disabled the standard job approval flow for this report type and replaced it with the company mapping workflow.
---
## v20260112-10-fix-vspc-approve-endpoint-duplicate
- Fixed a Flask startup crash caused by duplicate endpoint registration for the VSPC company approve route.
- Corrected misplaced route decorators that caused the approve handler to be mapped to the delete endpoint.
- Restored proper route separation between inbox message delete and VSPC company approve actions.
- Added missing authentication requirement to the VSPC approve endpoint to align with other inbox actions.
================================================================================================================================================ ================================================================================================================================================
## v0.1.19 ## v0.1.19
This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs. This release delivers a broad set of improvements focused on reliability, transparency, and operational control across mail processing, administrative auditing, and Run Checks workflows. The changes aim to make message handling more robust, provide better insight for administrators, and give operators clearer and more flexible control when reviewing backup runs.