mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
add changeStatus to PermissionChecks
This commit is contained in:
@@ -42,6 +42,7 @@ class Status extends FHCAPI_Controller
|
||||
|| $this->router->method == 'confirmStatus'
|
||||
|| $this->router->method == 'deleteStatus'
|
||||
|| $this->router->method == 'advanceStatus'
|
||||
|| $this->router->method == 'changeStatus'
|
||||
) {
|
||||
$prestudent_id = current(array_slice($this->uri->rsegments, 2));
|
||||
$this->checkPermissionsForPrestudent($prestudent_id, ['admin:rw', 'assistenz:rw']);
|
||||
|
||||
Reference in New Issue
Block a user