Permissions/#38

Tests and code for default visibility.