bugfix allow foremen to access pr app