some fixes for auto-perms across networks
Merge https://github.com/friendica/red into pending_merge