Don't take permissions without object, fixes #5413