mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fix Views based off new role Permissions
This commit is contained in:
@@ -88,8 +88,8 @@
|
||||
</div>
|
||||
<select class="form-control select2" name="role" required>
|
||||
<option value="">- Role -</option>
|
||||
<option <?php if($user_role == 3){ echo "selected"; } ?> value="5">Administrator</option>
|
||||
<option <?php if($user_role == 2){ echo "selected"; } ?> value="4">Technician</option>
|
||||
<option <?php if($user_role == 3){ echo "selected"; } ?> value="3">Administrator</option>
|
||||
<option <?php if($user_role == 2){ echo "selected"; } ?> value="2">Technician</option>
|
||||
<option <?php if($user_role == 1){ echo "selected"; } ?> value="1">Accountant</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user