mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-06 09:35:03 +02:00
Added ability for registrars to edit their own accounts
Also small fixes to role based access
This commit is contained in:
parent
9af773eb37
commit
97343361cc
8 changed files with 946 additions and 14 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue