Skip to content

Share Add Attribute suggestion logic with SchemaService and test eDirectory groupOfNames member - #6

Merged
jcombs-pointblue merged 1 commit into
masterfrom
cursor/edirectory-groupofnames-member-5714
Nov 8, 2026
Merged

jcombs-pointblue merged 1 commit into
masterfrom
cursor/edirectory-groupofnames-member-5714

Conversation

@jcombs-pointblue

Copy link
Copy Markdown
Contributor

Summary

  • Move the allowed-attribute (MUST ∪ MAY) computation and the prefix-match suggestion filter out of EntryContextMenu into two static SchemaService methods, so the Add Attribute autocomplete and a unit test run the same code.
  • Add EDirectoryMemberSuggestTest, which feeds the live eDirectory schema shape (primary attribute name and MAY token both member) through those methods and proves groupOfNames suggests member.
  • No behavior change for the UI; this is the ArborJ counterpart of the Arbor investigation that fixed the same suggestion in the Mac app.

Test plan

  • mvn test passes, including the new EDirectoryMemberSuggestTest
  • Add Attribute on an eDirectory groupOfNames entry still suggests member

🤖 Generated with Claude Code

The live schema's primary attribute name and MAY token are both member.
ArborJ indexes that name case-insensitively and the Add Attribute filter
keeps it for objectClass groupOfNames and Top. Share those two steps so
the unit test runs the same code as the autocomplete.

Co-authored-by: Jerry Combs <jcombs@pointbluetech.com>
@jcombs-pointblue
jcombs-pointblue merged commit df725cb into master Nov 8, 2026
1 check passed
@jcombs-pointblue
jcombs-pointblue deleted the cursor/edirectory-groupofnames-member-5714 branch November 8, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants