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

LCFS - BUG - edit icon appearing for IDIR users when compliance reports are in the Submitted status #1581

Open
airinggov opened this issue Jan 2, 2025 · 0 comments
Labels
bug Something isn't working Compliance Reporting High High priority ticket but not critical at this time

Comments

@airinggov
Copy link
Collaborator

Describe the Bug
The schedule edit pencil icon is appearing for IDIR users when compliance reports are in the "Submitted" status. This is incorrect behavior as reports in "Submitted" status should not be editable.

Image

Expected Behaviour
The schedule edit pencil icon should not be visible for any user, including IDIR users, when a compliance report is in "Submitted" status.

Actual Behaviour
The schedule edit pencil icon is erroneously displayed for IDIR users even though the report is in "Submitted" status, creating the impression that the schedule can still be edited.

Implications

  • Users may attempt to edit reports that are not supposed to be editable, leading to confusion.
  • Potential for unintended actions or data inconsistencies in reports that should remain locked in "Submitted" status.
  • Violates expected behavior and compliance workflows.

Steps To Reproduce
User/Role: IDIR

  1. Log in as an IDIR user.
  2. Open a compliance report that is in "Submitted" status.
  3. Navigate to the schedule section of the report.
  4. Observe that the schedule edit pencil icon is visible.

Additional Notes

  • Confirm the correct roles and status conditions under which the edit pencil icon should be displayed.
  • Review the logic governing the visibility of the edit pencil icon to ensure it aligns with status-based restrictions.
  • Test with other roles and statuses to confirm the issue is isolated to IDIR users in "Submitted" status.
@airinggov airinggov added bug Something isn't working Compliance Reporting High High priority ticket but not critical at this time labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Compliance Reporting High High priority ticket but not critical at this time
Projects
None yet
Development

No branches or pull requests

1 participant