Privileges and presences (with tests)