@Tirantent front end patch for a larger permissions issue, More rewrites will follow on a new branch to help fix this issue

This commit is contained in:
xevidos 2019-06-26 16:45:44 -04:00
parent bb7e089428
commit 4af4a0b4a9

View File

@ -107,6 +107,11 @@ switch( $_GET['action'] ) {
?> ?>
<td width="70"><a onclick="codiad.message.error(i18n('Active Project Cannot Be Removed'));" class="icon-block bigger-icon"></a></td> <td width="70"><a onclick="codiad.message.error(i18n('Active Project Cannot Be Removed'));" class="icon-block bigger-icon"></a></td>
<?php <?php
} elseif( $owner !== $_SESSION["user"] ) {
?>
<td width="70"><a onclick="codiad.message.error(i18n('Projects owned by others can not be deleted'));" class="icon-block bigger-icon"></a></td>
<?php
} else { } else {
?> ?>