party permission(CORE - 2134)

@prakashraja89  remove the debug code