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

Do not show objects in status "pending" on the UI #784

Closed
arnoldnipper opened this issue Jul 28, 2020 · 14 comments · Fixed by #1144
Closed

Do not show objects in status "pending" on the UI #784

arnoldnipper opened this issue Jul 28, 2020 · 14 comments · Fixed by #1144
Assignees
Labels
Milestone

Comments

@arnoldnipper
Copy link
Contributor

Currently, ix and fac in status "pending" are publicly shown. This may be confusing, esp. if they do not get approved. Proposal is to not show only objects with status "ok".

@arnoldnipper
Copy link
Contributor Author

@peeringdb/pc, please vote

@shane-kerr
Copy link

+1 to only show objects with status "ok".

@job
Copy link
Contributor

job commented Jul 28, 2020

+1

Small nit: maybe it can be made so that users with peeringdb wide admin privileges will see the "pending" objects?

@arnoldnipper
Copy link
Contributor Author

Small nit: maybe it can be made so that users with peeringdb wide admin privileges will see the "pending" objects?

Q1: what are "peeringdb wide admin privileges"?
Q2: what is the benefit?

@netravnen
Copy link
Contributor

netravnen commented Jul 28, 2020 via email

@job
Copy link
Contributor

job commented Jul 28, 2020

Yeah I meant that such pending entries should be easily visible to AC members, not to regular peeringdb users.

@arnoldnipper
Copy link
Contributor Author

I'm for this idea (to a degree), as it makes sense for org-admins to be able to edit pending review applications (not org-users).

Why does it make sense to edit pending issues? Either you approve or disapprove. Once approved you are able to edit via the UI.

Yeah I meant that such pending entries should be easily visible to AC members, not to regular peeringdb users.

These are not easily visible via the UI but only via the Admin UI

@job
Copy link
Contributor

job commented Jul 28, 2020

sounds good

@mcmanuss8
Copy link
Contributor

I liked the idea of showing them to AC members but if AC doesn't find value in it, then +1 to the proposal of only showing objects with "ok" status

@arnoldnipper
Copy link
Contributor Author

I liked the idea of showing them to AC members but if AC doesn't find value in it, then +1 to the proposal of only showing objects with "ok" status

AC has a way better look via the AC GUI. And as mentioned there is no benefit of being able to edit a pending object. If you want to approve it, do it and then edit. If you don't want to approve it, then there is no need to edit it ;-)

@netravnen
Copy link
Contributor

netravnen commented Jul 28, 2020 via email

@arnoldnipper
Copy link
Contributor Author

In my personal opinion, navigating between multiple entries in the database under the same organization is infinitely more accessible from the user frontend. Compared to the Admin UI where the focus of UI navigation leans heavier on per-object-of-$type basis.

Does https://peeringdb.com/cp/peeringdb_server/verificationqueueitem/ not work for you?

@vegu
Copy link
Contributor

vegu commented Aug 28, 2020

Summary

  • Entities that do not have status ok should not be available to be viewed through the customer facing UI, and should return a 404 Not Found response.
  • It is still a good idea to indicate to organization admins that they have entities that are pending review, so keep the entry that is displayed in their Facility/Network/Exchange list after they sent of the creation request, but remove the link to the entity itself.

@vegu vegu added the Time:Minor Up to 4 hours label Aug 28, 2020
@as44980
Copy link

as44980 commented Dec 8, 2020

Perhaps because the lack of progress in #23 it appears that users continue to suggest facilities which already exist, which are now associated with https://www.peeringdb.com/org/20525, and these are showing up on the front page..

Given these duplicate facilities are superflous I cant see any need to display them outside of whatever this AC admin interface that has taken up most of the discussion on this thread is about, so it would be nice if users could trust that data which appears on the front page is not bogus :)

grizz added a commit that referenced this issue Apr 12, 2022
* Do not show objects in status "pending" on the UI #784

* Fix peeringdb.js bug introduced in #784

* 500 Error during login for 2FA enabled accounts with unverified email address #996

* Django-Admin: adding a network with existing asn fails with internal error #1035

* Some command-line-tool executions are not logged #1119

* Ops: API throttling of repeated requests #1126

* Ops: response header X-Auth-ID to augment logging #1120

* Allow rate-limiting of melissa enabled api functionality. #1124

* State / Province normalization #1079

* Log melissa requests #1122

* remove debug messages

* bump django-handleref to 1.0.2

* Need consolidated app logs #845

* pin django peeringdb to 2.13 and relock poetry

* pin django-restframework-apikey to 2.1.0

* linting

* migrations

* docs regenerate

* docs

* linting

Co-authored-by: David Poarch <dpoarch@20c.com>
Co-authored-by: Stefan Pratter <stefan@20c.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants