Update some roles into example-realm.json.
More complex function-based protect() guard.