View Issue Details

IDProjectCategoryView StatusLast Update
000988010000-004: ServicesSpecpublic2025-02-18 17:27
ReporterMarcel Patzlaff Assigned ToMatthias Damm  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.05.03 
Summary0009880: Clarification needed which RolePermissions to apply when using the "Call" service
Description

This issue heavily relates to (and depends on) https://mantis.opcfoundation.org/view.php?id=9879.

Depending on what method resolution process is actually applied by the "Call" service there is an empty spot regarding which RolePermissions are to be applied.

RolePermissions are specified to be associated with nodes. Therefore having identical methods in an object hierarchy basically means that we can assign different RolePermissions for each level. Consider the example from issue 0009879:

  • "SuperFooType" -hasComponent-> "DoSomething" (i=111) - RolePerms111
  • "FooType" -hasComponent-> "DoSomething" (i=222) - RolePerms222
  • "Foo" -hasComponent-> "DoSomething" (i=333) - RolePerms333

If we realise the "Call" service naively, there would be different permissions applied depending on what method node is actually provided to the "Call" service:

  • Calling i=111 on "Foo" would check RolePerms111
  • Calling i=222 on "Foo" would check RolePerms222
  • Calling i=333 on "Foo" would check RolePerms333

My feeling is that this is really bad. It is definitely better if only the permission set of that method node is applied that is directly associated with the calling context node:

  • Calling i=111 on "Foo" would check RolePerms333
  • Calling i=222 on "Foo" would check RolePerms333
  • Calling i=333 on "Foo" would check RolePerms333

A description of what to actually do in this case is nowhere to be found in the spec (at least not anywhere I looked at).

TagsNo tags attached.
Commit Version1.05.06 RC1
Fix Due Date2025-04-15

Relationships

related to 0009879 assignedMatthias Damm Clarification needed for the method resolution process in "Call" service 

Activities

Marcel Patzlaff

2025-01-30 20:12

reporter   ~0022358

Considering the recent update in https://mantis.opcfoundation.org/view.php?id=9879 it seems to be best, to look up the method node that is directly associated with the calling context node and check its permissions, right? At least, this would make perfect sense to me.

Issue History

Date Modified Username Field Change
2024-10-10 09:33 Marcel Patzlaff New Issue
2025-01-30 20:12 Marcel Patzlaff Note Added: 0022358
2025-02-18 17:20 Jim Luth Relationship added related to 0009879
2025-02-18 17:26 Jim Luth Assigned To => Matthias Damm
2025-02-18 17:26 Jim Luth Status new => assigned
2025-02-18 17:27 Jim Luth Commit Version => 1.05.06 RC1
2025-02-18 17:27 Jim Luth Fix Due Date => 2025-04-15