Пример #1
0
 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));
 }