server: Added access rights mapping to process and thread objects.