With the Stalwart 1.0 scope filtering for mail/calendar/contacts/files, I would really like to see a way to scope admin onto a user in an external OIDC directory. That way I don’t have to rely on audience verification for full access. Adding the scope is easy enough in Keycloak for example.
I think it’s even better if we can still have it check inside Stalwart if an account has admin rights as well. But I guess we’ll have to pick where the point of enforcement here is. Personally I like the idea of my Identity Provider being the source of truth for user roles.