Add COmanage-agnostic osg-project-usermap.py and share its logic - #31
Closed
CannonLock wants to merge 1 commit into
Closed
CannonLock wants to merge 1 commit into
CannonLock wants to merge 1 commit into
Conversation
Move the LDAP/Topology lookup, localmap merging, sanity check and output code into a new osg-project-usermap.py that needs only LDAP access. osg-comanage-project-usermap.py now imports that script, sorts each user's groups by COmanage group ID, and reuses the shared writer, so its output is unchanged. This lets the usermap be generated without COmanage REST API credentials.
CannonLock
force-pushed
the
split-project-map
branch
from
September 22, 2026 16:54
fdb4bef to
be69fcf
Compare
Author
|
This doesn't need to be merged. I can use it either way. |
Collaborator
|
@brianhlin, If this PR is merged, we'll need to add the new |
Author
|
Closing because I have to get the UID from LDAP anyways so I might as well just query directly rather then via this shared script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move the LDAP/Topology lookup, localmap merging, sanity check and output code into a new osg-project-usermap.py that needs only LDAP access. osg-comanage-project-usermap.py now imports that script, sorts each user's groups by COmanage group ID, and reuses the shared writer, so its output is unchanged.
This lets the usermap be generated without COmanage REST API credentials.