Exemplo n.º 1
0
 public override bool VisibleFor(Feed feed, object data, Guid userId)
 {
     return(base.VisibleFor(feed, data, userId) && ProjectSecurity.CanGoToFeed((Task)data, userId));
 }
Exemplo n.º 2
0
 public override bool VisibleFor(Feed feed, object data, Guid userId)
 {
     return(base.VisibleFor(feed, data, userId) &&
            ProjectSecurity.CanGoToFeed(((ParticipantFull)data).Project, userId));
 }