Fix extension permissions