Skip to content

Conversation

@maksonlee
Copy link

Summary

On OpenDJ/389DS directories the Delete action for leaf entries is hidden even when the authenticated user has permission to delete the entry and hasSubordinates/numSubordinates indicate there are no children.

This happens in HomeController::frame() when computing page_actions['delete'].

Root cause

page_actions['delete'] currently does:

'delete'=>is_null($xx=($o->getObject('hassubordinates') ?: $o->getObject('numSubordinates'))?->value)
        || (collect($xx)->filter(fn($item)=>$item !== 'FALSE')->count() === 0),

@leenooks
Copy link
Owner

Thanks for creating this. I actually think I've sold the issue a better way with 1915410 - but let me know if this continues to be a problem.

@leenooks leenooks closed this Dec 11, 2025
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