Set edit label menu item as disabled if back-end response is empty only. Do not set is as enabled if it contains element as this is done in an async call and will overwrite the permission check.
Check permission as last operation. It has the final word on enabling or disabling menu items.