p, alice, /pen/1, GET
p, alice, /pen2/1, GET
p, book_admin, book_group, GET
p, pen_admin, pen_group, GET
p, *, pen3_group, GET

p, /book/admin/:id, pen4_group, GET
g, /book/user/:id, /book/admin/1

p, /book/leader/2, pen4_group, POST
g, /book/user/:id, /book/leader/2

g, alice, book_admin
g, bob, pen_admin

g, cathy, /book/1/2/3/4/5
g, cathy, pen_admin

g2, /book/*, book_group

g2, /book/:id, book_group
g2, /pen/:id, pen_group

g2, /book2/{id}, book_group
g2, /pen2/{id}, pen_group

g2, /pen3/:id, pen3_group
g2, /pen4/:id, pen4_group