You can see:
You can expand model controller and write :
const { user} = ctx.state.user
And you can checks rights for current user next in your code
You can see:
You can expand model controller and write :
const { user} = ctx.state.user
And you can checks rights for current user next in your code