Added ability for registrars to edit their own accounts

Also small fixes to role based access
This commit is contained in:
Pinga 2024-02-26 11:49:05 +02:00
parent 9af773eb37
commit 97343361cc
8 changed files with 946 additions and 14 deletions

View file

@ -90,7 +90,9 @@ $app->group('', function ($route) {
$route->get('/registrar/view/{registrar}', RegistrarsController::class . ':viewRegistrar')->setName('viewRegistrar');
$route->get('/registrar/update/{registrar}', RegistrarsController::class . ':updateRegistrar')->setName('updateRegistrar');
$route->post('/registrar/update', RegistrarsController::class . ':updateRegistrarProcess')->setName('updateRegistrarProcess');
$route->get('/registrar', RegistrarsController::class .':registrar')->setName('registrar');
$route->map(['GET', 'POST'], '/registrar/edit', RegistrarsController::class .':editRegistrar')->setName('editRegistrar');
$route->get('/users', UsersController::class .':listUsers')->setName('listUsers');
$route->get('/epphistory', LogsController::class .':view')->setName('epphistory');