-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix report approval by admins and when automatic #4936
Conversation
d1eb3eb
to
088dca9
Compare
32d735c
to
5add24a
Compare
088dca9
to
81cce94
Compare
5add24a
to
4f19ffb
Compare
81cce94
to
f1a885c
Compare
4f19ffb
to
a9d3109
Compare
f1a885c
to
628c6ca
Compare
a9d3109
to
5c0dcd2
Compare
628c6ca
to
950f948
Compare
5c0dcd2
to
a9fa815
Compare
…tically published
The front-end already allowed it, but the back-end refused it.
a9fa815
to
59a9358
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The front-ends suggest, to an ANET admin, that a draft report can be approved. When this approval button is pressed, the servver returns with an error:
Bad Request: Exception while fetching data (/approveReport) : This report is not pending approval
The "Approve" button should not be enabled on a draft report.
This includes admins; fixes commit e0cdf7d
Caused by a change for AB#991 quite some time ago; fixed in an additional commit on this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Allow admins to approve all reports. The front-end already allowed it, but the back-end refused it.
Automatic report approval (after the timeout set in the dictionary) did not work for reports that had only been submitted; this is now fixed.
Show "system" instead of "Unspecified" when a report was automatically published.
Closes AB#1186
User changes
Superuser changes
Admin changes
System admin changes
Checklist
repo#issue: Title
title format and these 7 rules