LPS-39405 Wrong permission checking in add panel