Closed dessalines closed 3 months ago
I think it would be completely better to add it as a field in LocalUserView
that's Some
if the application exists and the viewer is an admin
That was my first inclination, but I looked at the front end, and we never return other peoples LocalUserView, or have that available.
Your LocalUserView only ever comes back for you as getsite.my_person
, and viewing other people's profiles is always PersonView.
And doing a join there probably isn't the best, since it's admin only anyway.
I believe since this action is a modding-type action, it should work on-demand, similarly to getting reports for that user when you view a comment of theirs.
ie you see this as an option on a drowdown mod actions for a comment or post.