SERVER-137300Needs Merge

Register and run extension commands

Add {{register_command_descriptor}} to the host portal vtable in {{api.h}}, gated on 1.1. Implement it in the host portal adapter, and add the SDK registration helper. Add the {{ExtensionCommand}} host bridge. Register the command in every role it declares, including registries built after the extension loads. Map all static properties onto the matching {{Command}} overrides, including enforcing {{requiredPrivileges}} in {{checkAuthForOperation}}. Pass a namespace-only command context; SERVER-13

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-extensions-api