App: Expose allowObject for groups in python

This commit is contained in:
Benjamin Nauck
2025-06-22 23:25:52 +02:00
parent 908941f2d1
commit 5ed384c7f3
2 changed files with 33 additions and 0 deletions

View File

@@ -70,3 +70,9 @@ class GroupExtension(DocumentObjectExtension):
@param recursive if true check also if the obj is child of some sub group (default is false).
"""
...
def allowObject(self, obj: Any) -> bool:
"""
Returns true if obj is allowed in the group extension.
"""
...