For the schema browser, highlight structural object classes when showing attributes. Expose objectclass objects instead of names for objectclasses of a DN

This commit is contained in:
2025-01-19 22:01:20 +11:00
parent 05012c9e6c
commit 4dfebe9053
4 changed files with 29 additions and 18 deletions

View File

@@ -442,7 +442,7 @@ final class Server
// Add Used In.
foreach ($oclass_attrs as $attr_name)
if ($this->attributetypes->has(strtolower($attr_name)))
$this->attributetypes[strtolower($attr_name)]->addUsedInObjectClass($object_class->name);
$this->attributetypes[strtolower($attr_name)]->addUsedInObjectClass($object_class->name,$object_class->isStructural());
// Add Required By.
foreach ($must_attrs as $attr_name)