-
Notifications
You must be signed in to change notification settings - Fork 53
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
Show a warning when viewing a non-public add-on #11368
Comments
Yup, it was never fixed so I am marking this issue as "contrib: welcome". |
I would like to work on this bug. |
hey @lavish205, this one was already taken but feel free to find another 1 to help out on : ) |
hey @kumar303 @willdurand, Here is what the update looks like (in PR mozilla/addons-frontend#5969) and just had some follow up questions here: Do we want both errors? Do we care about styles here? |
Yes, that'd be nice.
Yes, the minimum is to have some padding below the second notification. |
@willdurand I checked for both scenarios given by @kumar303 with FF61(win10) on AMO dev First one works
The second seems to be with problems - I could file a separate issue and close this one
I logged in with a developer account and made one of the add-ons "Invisible" from dev hub (the versions page). Then went to it's detail page but the message won't show up in this case |
ah... yeah so an add-on marked as non-public is visible (status) but disabled ( @ioanarusiczki can you file an issue? I am about to fix it. |
@willdurand It works now for the second scenario too Verified fixed on AMO dev with FF61(Win10 & Android 8.0) |
I'm adding that the message is also available for developers before the add-ons are auto-approved or approved by admins. Verified on AMO stage with FF61(Win10) |
Describe the problem and steps to reproduce it:
As an admin, log in to AMO and view the detail page for a disabled add-on
or
As a developer, upload an add-on, make it non-public, log in to AMO and view its detail page
What happened?
You see a complete detail page as if nothing was different
What did you expect to happen?
You should see a warning saying that the add-on is not public but you're seeing it anyway because you have elevated privileges.
Anything else we should know?
This has created confusion a couple of times from admins or developers who are not expecting to see a public listing.
It should be pretty easy to fix:
The text was updated successfully, but these errors were encountered: