We can consolidate the `user_priv` function into here.