Revert "Fix fix_permissions for users with a different schema"

This reverts commit aecc66d316ec98e4228cd05a6e3efbc83a46f521.
Custom publicusers inherit from publicuser so this is not needed.