Closed wes-otf closed 2 months ago
to me the only people who really need this info would likely be staff, curious to hear your thoughts @frjo
We already hide staff names in comments for applicants so apparently it is important for OTF staff to stay anonymous. This is a logical extension of that.
When we implement this I think we should add a setting HIDE_STAFF_IDENTITY
or similar. I suggest it is false be default but OTF would set it to true. This would then hide staff identity in comments, lead and any other place we find.
We should also add a function so we do not need to do user.is_apply_staff or user.is_finance or user.is_contracting
. Maybe def is_employed(self):
?
We could at the same time add a def is_external(self):
.
All groups should belong to one of these criteria.
yeah I totally agree, sounds like a nice solution! I can toss something up quick.
basically have everything figured out for the new config option and having the lead/comment names hidden based on that, but one thing I'm logically struggling with is the activity tab, as activities like this are shown:
with how we currently handle visibility it seems like filtering this activity based on the HIDE_STAFF_IDENTITY
may add another level of activity visibility complexity. For now should we just make this activity team
visibility only and when visibility refactoring happens in #3915 consider how to reincorporate it? Open to any alternative ideas too
I see no problem with making this staff only.
Currently when a user submits an application, they can see who the staff lead is. In other cases we obscure the staff members name and it probably also makes sense to do so here as it's PII.