Skip to content

AO3-7030 Only allow official users to apply to make skins public#5571

Open
sarken wants to merge 31 commits intootwcode:masterfrom
sarken:AO3-7030
Open

AO3-7030 Only allow official users to apply to make skins public#5571
sarken wants to merge 31 commits intootwcode:masterfrom
sarken:AO3-7030

Conversation

@sarken
Copy link
Collaborator

@sarken sarken commented Feb 6, 2026

Issue

https://otwarchive.atlassian.net/browse/AO3-7030

Purpose

Prevents users who don't have the "official" role from applying to make skins public. (It is probably helpful to know that the public attribute doesn't make a skin public -- it just applies to make the skin public.)

It also adds a task for clearing out any skins that are currently in the approval queue or that have been rejected.

In the specs, I've left a few comments about the redirects not matching reality, e.g. # This actually redirects to the logged in user's dashboard. Basically what happens is the tested action redirects you to the show page for the skin, but the check_visibility before_action for the skin show page then redirects somewhere else. That means what the user experiences is a bit different from what the controller action says to do. It's not new behavior, just something I found a bit confusing when I was trying to write the tests. It might be worth tweaking in the future to avoid the double redirect, but maybe not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant