added permission data injection