Changes permissions handling for Domain Access.