Skip to content

Commit

Permalink
Admins can also edit a supervision
Browse files Browse the repository at this point in the history
  • Loading branch information
mvl22 committed Jan 17, 2022
1 parent 3e9181c commit ad65eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisionSignup.php
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ public function supervision ($id)
$userHasEditRights = ($this->userIsAdministrator || ($supervision['supervisor'] == $this->user) || ($supervision['supervisor2'] && ($supervision['supervisor2'] == $this->user)));

# Enable editing by the user
if ($this->userIsStaff) {
if ($this->userIsStaff || $this->userIsAdministrator) {

# Determine if editing is requested
$editingActions = array ();
Expand Down

0 comments on commit ad65eb0

Please sign in to comment.