NAME

LibreCat::App::Catalogue::Route::admin - Route handler for admin actions

PREFIX /librecat/admin

Permission: for admins only. Every other user will get a 403.

GET /account

Prints a search form for the authority database.

GET /account/new

Opens an empty form. The ID is automatically generated.

GET /account/search

Searches the authority database. Prints the search form + result list.

GET /account/edit/:id

Opens the record with ID id. Cancel returns to /account. Save does a POST on /account/update.

POST /account/update

Saves the data in the authority database.

GET /account/delete/:id

Deletes the account with ID :id.

GET /account/import

Input is person id. Returns warning if person is already in the database.