mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:27:07 +00:00
Add POST, PUT, DELETE support to /project/:project/info.
It reuses the same backend functions as for the global `/info/` path.
This commit is contained in:
@@ -158,7 +158,9 @@ app.map({
|
||||
},
|
||||
'/project/:project/info/:path(*)': {
|
||||
get: [ mw.info.get ],
|
||||
// post: [ mw.info.post ],
|
||||
post: [ mw.auth.access.write, mw.info.post ],
|
||||
put: [ mw.auth.access.write, mw.info.put ],
|
||||
delete: [ mw.auth.access.write, mw.info.delete ]
|
||||
},
|
||||
'/project/:project/meta/': {
|
||||
put: [ mw.auth.access.write, mw.meta.put ],
|
||||
|
||||
Reference in New Issue
Block a user