mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Permission to edit priorisierung in FAS
Permission "basis/prestudent" needed to edit Priorisierung in FAS
This commit is contained in:
@@ -475,7 +475,14 @@ echo '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>';
|
||||
</hbox>
|
||||
<hbox>
|
||||
<label value="Priorität" control="student-prestudent-textbox-priorisierung"/>
|
||||
<textbox id="student-prestudent-textbox-priorisierung" disabled="true"/>
|
||||
<?php
|
||||
$readonly = 'readonly="true"';
|
||||
$rechte = new benutzerberechtigung();
|
||||
$rechte->getBerechtigungen($user);
|
||||
if($rechte->isBerechtigt('basis/prestudent'))
|
||||
$readonly = '';
|
||||
?>
|
||||
<textbox id="student-prestudent-textbox-priorisierung" disabled="true" <?php echo $readonly ?>/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row id="student-prestudent-row-mentor">
|
||||
|
||||
Reference in New Issue
Block a user