Block access to specific node action

Describe the problem/error/question

I understand that its possible to block access to nodes as stated in this doc Block access to nodes | n8n Docs
However I would like to block just the action “Create incident” inside the ServiceNow node. As anyone done something similar? Is it possible? Because I can only find the Servicenow node name not the name for the create incident action - needed to block it

Information on your n8n setup

  • n8n version: 2.17.5
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

welcome to the n8n community @mfranma
I’m not sure if blocking access to a node works at the operation/action level inside a node, it seems to only work at the node level. There’s no native way to do exactly what you’re asking for.

From my point of view, your options would be to block the entire ServiceNow node, separate the credential scopes, or fork the ServiceNow node and remove the “Create” operation from it. The last one is more work, but gives you full control.

Thank you for the prompt response :slight_smile: will look into those options

hope it works out :crossed_fingers:

مرحباً @mfranma، جوناثان هنا من فريق المنتج. نحن للتو بدأنا في النظر في إضافة بعض الوظائف ذات الصلة في هذا الربع لتوفير تحكم أفضل في أنواع العقد بيانات والبيانات الاعتماديّة التي يمكن استخدامها على نسخة. أحد الأشياء التي كنا نفكر فيها هو مدى دقة التحكم وتطبيق تحكم “تشغيلي” محدد على مستوى العقدة هو شيء نفكر فيه (على الرغم من أنه ربما لن يكون في العدد الأول من التكرارات). سيكون التركيز الرئيسي على إدراج واجهة إدارة في واجهة المستخدم للسماح / تقييد أنواع عقد وبيانات اعتماديّة مختلفة على مستوى النسخة أو المشروع.

يسعدني مشاركة المزيد عن ذلك إذا كنت مهتماً. لكن السؤال الواحد الذي كان لدي بالنسبة لك كان سياق أكثر قليلاً حول سبب احتياجك تحديداً لتقييد هذا الإجراء داخل عقدة الخدمة الآن. هل يمكنك مشاركة مثال حول المكان الذي كان هذا مشكلة بالنسبة لك في الماضي عندما يقوم المستخدمون بإنشاء سير العمل؟ هل هناك أي عقد أخرى حيث ينطبق هذا أيضاً؟