Is there authority level in nakama?

i know there are “before, after” methods to implement action filters in Nakama. but can I modify jwt tokens on the backend side to give authorities to some users?

i need this to make an admin, support panel for the times that need to respond to users. I’m not sure there is such a thing in Nakama. maybe I need to make another app to directly access database. right

@virtouso you could use a before hook on authenticate to set session variables with your custom roles.

You can then access them with the appropriate context variable.