Fix ADMIN_ONLY for embedded mode