add display, but no edit yet
This commit is contained in:
@@ -125,6 +125,12 @@ fun main(args: Array<String>) {
|
||||
put("/{id}", VendorCtrl::update, Roles(Role.Explicit("ROLE_VENDOR_CREATE")))
|
||||
}
|
||||
path("/incoming") {
|
||||
get("/plants", IncomingInventoryCtrl::plantsForUser,
|
||||
Roles(
|
||||
Role.Explicit("ROLE_INVENTORY_CREATE"),
|
||||
Role.Explicit("ROLE_INVENTORY_VIEW")
|
||||
)
|
||||
)
|
||||
post("", IncomingInventoryCtrl::create, Roles(Role.Explicit("ROLE_INVENTORY_CREATE")))
|
||||
get("/next", IncomingInventoryCtrl::getNextNum, Roles(Role.Explicit("ROLE_INVENTORY_CREATE")))
|
||||
get(
|
||||
|
||||
Reference in New Issue
Block a user