-
Notifications
You must be signed in to change notification settings - Fork 1.5k
rename galaxy to root and guardian to superadmin #9396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR replaces references to “galaxy” with “root” and “guardian” with “superadmin” across the access authorization logic and tests. The changes update namespace constants, error messages, function names, and related test assertions.
- Changed predicate prefix functions and namespace constants from Galaxy to Root.
- Updated account upsert and authorization functions from Guardian to SuperAdmin.
- Modified test files to use the new Root namespace and SuperAdmin identifiers.
Reviewed Changes
Copilot reviewed 101 out of 101 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
edgraph/access.go | Renamed constant functions and error messages to use Root/SuperAdmin. |
dgraphtest/local_cluster.go | Updated login namespaces from Galaxy to Root. |
dgraphtest/load.go | Updated login namespaces from Galaxy to Root. |
dgraph/cmd/zero/* | Replaced Galaxy namespace usage with Root namespace in various handlers. |
dgraph/cmd/live/run.go | Modified logic and error messages to reflect superadmin usage. |
dgraph/cmd/alpha/* and acl/* | Updated login and messaging for ACL tests from Galaxy to Root. |
Comments suppressed due to low confidence (1)
edgraph/access.go:1138
- [nitpick] Consider updating the error message to use 'superadmin' instead of 'guardians' for consistency with the new naming convention.
s.Code(), "AuthSuperAdmin: failed to authorize guardians. " + s.Message()
|
No description provided.