Which Umbraco version are you using?
@umbraco-cms/backoffice - 17.0.0
Bug summary
I think the UmbDocumentUserPermissionCondition is not exported as part of the umbraco-cms npm package, so it can't be used outside of the core CMS when checking for document permissions.
Specifics
No response
Steps to reproduce
try and use UmbDocumentUserPermissionCondition in an extension and there is no relevant import that works to use the condition.
Expected result / actual result
I think it's missing an export somewhere in the document folder ?