For safety and refactor friendly code, we should be using the constant strings defined in OtrClaims instead of string literals (Implemented in #228). For example, on a controller route, instead of [Authorize(Roles = "system")], instead use [Authorize(Roles = OtrClaims.System)]
For safety and refactor friendly code, we should be using the constant strings defined in
OtrClaims
instead of string literals (Implemented in #228). For example, on a controller route, instead of[Authorize(Roles = "system")]
, instead use[Authorize(Roles = OtrClaims.System)]
Depends on #228