-
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
A listed version block does not set a Disabled status for the blocked version #7206
Comments
Where is this functionality requested? (Issue/PRD) |
@eviljeff it wasn't requested in Issues/PRD but, considering that we are setting unlisted versions as disabled when they are blocked, we should probably do the same for listed versions, for consistency. |
That's not correct. Creating a Block doesn't make any change to the Addon or Versions - listed or unlisted. If you are thinking about #7158 then it's the action in the reviewer tools that disables the version. |
Yes, you are right about the reviewer tools implication for unlisted. So, to put it more clearly, I was wondering if we could have something similar for listed reviews as well. I see how my initial request might have some inconvenient consequences in case of an accidental block, but I think it's safe to say that, when the block request originates from rev tools, we can rely on a more detailed analysis of the versions being blocked. |
@wagnerand / @jvillalobos to opine. #7158 was explicitly about unlisted versions. |
If feasible, I would appreciate if we could automatically disable all versions that are affected by a block. Otherwise, I will have to do it manually. In every case I can think of, a blocked version would also be disabled. |
It's not how the Blocklist Admin tool was specified - currently it purposely doesn't touch the Addon/Version/File instances at all. So this would be out of scope for the Blocklist projects and worked on separately/later. |
Yeah, the tool didn't contemplate status changes as designed. I can see it being useful to disable the versions once blocked, though it might get confusing if removing a block doesn't revert the status changes (and if we do that, then we would need to somehow store the previous state, etc). |
@AlexandraMoga, @eviljeff and I are a bit unclear on what this issue asks for. Is it one of the following?
|
@wagnerand my initial intent was to have what was mentioned in your second point:
However, if you have something more practical in mind we can go with that. |
Following up on this, we should: Disable the versions during blocking the add-on in the admin tools (regardless of whether the action originated from the reviewer tools or not). If specific versions or a version range that is not |
When should the versions be disabled? When the submission is signed off and the block is created? Or when the submission is created? Also, it seems like the functionality for #7158 would be redundant as the versions would be disabled as part of the block flow rather than in the reviewer tools. |
Ideally, when the submission gets signed and the block is created, but we can also do it during submission creation if turns out to be very complicated.
Only partly. The block flow in the reviewer tools is available to unlisted versions only. |
Side note, regardless of channels: When the block submission gets signed (and the block is created), next to versions being disabled, we should also disable the add-on (set |
I've tested block submissions on -dev and the Disabled status for add-ons and/or versions are applied as follows:
I'm marking this issue as verified fixed on -dev. |
Describe the problem and steps to reproduce it:
What happened?
The listed version is Blocked but not Disabled - see here
What did you expect to happen?
The listed version should be disabled automatically when a block is submitted
Anything else we should know?
listed version with status 'Approved' after a block was submitted
The text was updated successfully, but these errors were encountered: