public override bool VisibleFor(Feed feed, object data, Guid userId)
 {
     return(base.VisibleFor(feed, data, userId) && ProjectSecurity.CanGoToFeed((Task)data, userId));
 }
示例#2
0
 public override bool VisibleFor(Feed feed, object data, Guid userId)
 {
     return(base.VisibleFor(feed, data, userId) &&
            ProjectSecurity.CanGoToFeed(((ParticipantFull)data).Project, userId));
 }