mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
@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:
parent
bb7e089428
commit
4af4a0b4a9
@ -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 {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user