Timur Atakishiev
07/20/2020, 7:21 AMnschulzke
07/20/2020, 3:01 PMRouteSelectorEvaluation.Constant
if the user has the role and RouteSelectorEvaluation.Failed
otherwise.
You could do a similar thing with interception.
See: https://ktor.io/servers/features/routing.html
The Interception heading particularly talks about verifying admin privileges.