Access control for this half: three levels and two overrides.
Every write and every call passes two separate gates: an access level and ownership of the Machine's Lock. Reading needs neither. opensmi answers a refusal with BadUserAccessDenied for the level and BadRequiresLock for a call without the Lock.
| Introspection listings and the report | LISTING_ACCESS_LEVEL, Lock bypassed |
| Skills, including the StartupSkill | SKILL_ACCESS_LEVEL, plus the Lock |
| Methods backed by a ROS2 service | SKILL_ACCESS_LEVEL, plus the Lock |
| Mutators such as BindTopic | MUTATOR_ACCESS_LEVEL by default, plus the Lock |
The numbers are opensmi's default user table (0 visitor, 10 orchestrator, 20 operator). A site with a
different table overrides them in ~opensmi.ros2.server.config.ROS2Config.
The listings skip the Lock through ROS2GatedMethod (overrides the callable's access
condition) and ROS2ArgumentVariable (overrides the variable's access check).
opensmi releases the Lock after ten minutes without a call to InitLock, BreakLock or RenewLock; a variable write does not count. A client holding the Lock calls RenewLock at least every ten minutes.
| Class | |
An argument of a Lock-bypassing Method, writable at its own level and without the Lock. |
| Class | |
A Method that can answer without the Lock. |
| Constant | LISTING |
What a read-only introspection listing requires: nothing beyond being authenticated. |
| Constant | MUTATOR |
What changing the address space from a client requires by default: the operator. |
| Constant | SKILL |
What a Skill, a service Method and a publishing Binding's Parameters require: the orchestrator. |