Add permission code via reflection