Rename Permisson by GlobalPermission in ruby files