finish database implementation
This commit is contained in:
@@ -30,6 +30,8 @@ class GuaranteeRootNode extends Middleware {
|
||||
})
|
||||
|
||||
await new_page.save()
|
||||
req.user.allow(`page:${new_page.UUID}`)
|
||||
await req.user.save()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user