02 Oct 2012
16 Apr 2012
Link to this post
Forgive me if this has already been covered, or is someplace intuitive that I did not think to look. We are looking at porting our user forums from YAF into Sitefinity -- concurrent with an upgrade from SF4.3 to SF5.0 -- and need one extremely important issue addressed before that can happen. I have not been able to discover a solution to this issue as of yet:
Short version: Is it possible to programmatically set the visibility of an individual thread within a forum? Or is security only available at the Forum level?
Detailed version: In our solution, we have Courses that can be taught in multiple Schools. We want to make each Course a Forum. A Student -- who belongs to a School, and may be enrolled in several Courses -- should be able to see the Course Forums for Courses in which they are enrolled. (That's the easy part.) The difficult part is, within that Course Forum, they should only be able to see threads started by users (usually a Teacher or Administrator) that are connected to the same school as the Student.
So, for example, if there is one Forum for "4th Grade Math," and someone in Johnson Elementary starts a thread within that forum, only Johnson Elementary students and faculty should be able to see it; students and faculty from Kennedy Elementary should not.
Is this possible in Sitefinity 5? Thanks.