Add post hook fix rights