debug EditEntity permissions

Change-Id: I0b74f021d6db99da494ca118298f401f82fd10cd