The GitHub Actions job "Misspell Check" on 
rocketmq.git/fix/proxy-admin-auth-fail-closed-unmapped has failed.
Run started by GitHub user Felix-Gong (triggered by Felix-Gong).

Head commit for run:
2ac10d024bb8a7c74354f4208f4c129602aa8002 / Felix-Gong 
<[email protected]>
[ISSUE #11470] fix(proxy): fail closed on admin methods missing an ACL mapping

ProxyAdminAuthInterceptor treated an absent METHOD_PERMISSIONS entry
as 'no check needed': the authz branch required resourceAction != null,
so a served method without a mapping ran straight through to the
handler with authentication only, even with the cluster authorization
switch on and even in fail-closed mode.

The admin server serves only the 16 mapped Admin RPCs today, but the
surface grows through rocketmq-apis (three Admin expansions in recent
commits), so the next RPC added without an entry here would be an
unauthorized call path including mutations.

Deny unmapped methods with PERMISSION_DENIED whenever authorization is
enabled, and add a completeness test that walks
AdminGrpc.getServiceDescriptor() so CI fails on map drift the moment
a new RPC lands.

Red/green: unmappedMethodIsDeniedWhenAuthorizationEnabled was verified
to fail on the old pass-through code by stashing the fix. Proxy
module: 455 tests green, 9 in ProxyAdminAuthInterceptorTest, JDK 11.

Report URL: https://github.com/apache/rocketmq/actions/runs/39436710058

With regards,
GitHub Actions via GitBox

Reply via email to