mirror of https://github.com/MISP/MISP
Email addresses of event creators visible to users if same org
- On the event index, users can view the e-mail address of the event creator, if the event belongs to their own organisationpull/217/head
parent
640080d2e7
commit
c9b3b15fa6
|
@ -125,9 +125,7 @@
|
|||
<?php endif; ?>
|
||||
<th><?php echo $this->Paginator->sort('id');?></th>
|
||||
<th><?php echo $this->Paginator->sort('attribute_count', '#Attr.');?></th>
|
||||
<?php if ($isAdmin): ?>
|
||||
<th><?php echo $this->Paginator->sort('user_id', 'Email');?></th>
|
||||
<?php endif; ?>
|
||||
<th class="filter">
|
||||
<?php echo $this->Paginator->sort('date');?>
|
||||
<a onclick="toggleField('#searchdate')" class="icon-search"></a>
|
||||
|
@ -231,11 +229,9 @@
|
|||
<td class="short" onclick="document.location ='<?php echo $this->Html->url(array('action' => 'view', $event['Event']['id']), true);?>';">
|
||||
<?php echo $event['Event']['attribute_count']; ?>
|
||||
</td>
|
||||
<?php if ($isAdmin): ?>
|
||||
<td class="short" onclick="document.location ='<?php echo $this->Html->url(array('action' => 'view', $event['Event']['id']), true);?>';">
|
||||
<?php if($isSiteAdmin || $event['Event']['orgc'] == $me['org']) echo h($event['User']['email']); ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<td class="short" onclick="document.location ='<?php echo $this->Html->url(array('action' => 'view', $event['Event']['id']), true);?>';">
|
||||
<?php echo $event['Event']['date']; ?>
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue