imbajin opened a new pull request, #758:
URL: https://github.com/apache/hugegraph-toolchain/pull/758

   ## Before → after
   
   Hubble now has one authentication/connection boundary for 1.8/master:
   
   - authenticated mode uses the session client and exposes four preset 
meanings:
     `SUPER_ADMIN`, `GS_READ_ONLY`, `GS_READ_WRITE`, and `GS_ADMIN`;
   - anonymous mode uses a real unauthenticated client, skips login/session 
creation,
     and hides account/permission entry points;
   - PD mode discovers the target Server address from PD, so no manual Server 
URL is
     required;
   - GraphSpace administration is limited to member management plus read/write;
     low-level role/target/access/belong objects are no longer a page-level 
model.
   
   ## Compatibility matrix
   
   | Server | Verified mode | Supported scope | Boundary |
   | --- | --- | --- | --- |
   | 1.5.0 | standalone, non-auth | core graph/schema/data/Gremlin workflow | 
no PD/GraphSpace/account presets |
   | 1.7.0 | standalone, non-auth | core workflow and thin legacy user lookup | 
GraphSpace default-role presets are `needs input` because the upstream API is 
absent |
   | 1.8/master | PD, non-auth | PD discovery and core workflow | authenticated 
mode additionally enables the four presets |
   
   The 1.5 and 1.7 servers were run directly from their Java 11 Docker images; 
only
   the changed Hubble source was rebuilt. The compatibility adapter is 
centralized
   in `hugegraph-client`, and old-version branches are not spread across pages 
or
   controllers. Read-only default roles apply to existing graphs; inheriting 
that
   grant on future graphs requires an upstream Server capability and remains
   `needs input`.
   
   ## Chrome evidence
   
   The three images below were captured by operating Chrome against the running
   instances:
   
   ![1.5 
standalone](https://raw.githubusercontent.com/hugegraph/hugegraph-toolchain/cx/hubble-auth-redesign/hugegraph-hubble/docs/images/compat-1.5-standalone.png)
   
   ![1.7 
standalone](https://raw.githubusercontent.com/hugegraph/hugegraph-toolchain/cx/hubble-auth-redesign/hugegraph-hubble/docs/images/compat-1.7-standalone.png)
   
   ![1.8/master 
PD](https://raw.githubusercontent.com/hugegraph/hugegraph-toolchain/cx/hubble-auth-redesign/hugegraph-hubble/docs/images/compat-1.8-pd.png)
   
   ## Verification
   
   - Java 11 client compatibility test: passed.
   - Java 11 Hubble backend UnitTestSuite: 381 tests, 0 failures/errors.
   - Hubble frontend: 155 suites / 915 tests passed after the final preset fix.
   - Frontend i18n check and production build: passed (dependency source-map 
warnings only).
   - Hubble package: passed with `-Dskip.installyarn=true -Dskip.yarn=true`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to