@@ -219,8 +219,8 @@ async def main():
219
219
async def delete_permissions_async (
220
220
self ,
221
221
include_self : bool = True ,
222
- recursive : bool = False ,
223
222
include_container_content : bool = False ,
223
+ recursive : bool = False ,
224
224
target_entity_types : Optional [List [str ]] = None ,
225
225
* ,
226
226
synapse_client : Optional [Synapse ] = None ,
@@ -242,16 +242,15 @@ async def delete_permissions_async(
242
242
243
243
Arguments:
244
244
include_self: If True (default), delete the ACL of the current entity.
245
- If False, skip deleting the ACL of the current entity and only process
246
- children if recursive=True and include_container_content=True.
245
+ If False, skip deleting the ACL of the current entity.
246
+ include_container_content: If True, delete ACLs from contents directly within
247
+ containers (files and folders inside self). This must be set to
248
+ True for recursive to have any effect. Defaults to False.
247
249
recursive: If True and the entity is a container (e.g., Project or Folder),
248
250
recursively process child containers. Note that this must be used with
249
251
include_container_content=True to have any effect. Setting recursive=True
250
252
with include_container_content=False will raise a ValueError.
251
253
Only works on classes that support the `sync_from_synapse_async` method.
252
- include_container_content: If True, delete ACLs from contents directly within
253
- containers (files and folders inside Projects/Folders). This must be set to
254
- True for recursive to have any effect. Defaults to False.
255
254
target_entity_types: Specify which entity types to process when deleting ACLs.
256
255
Allowed values are "folder" and "file" (case-insensitive).
257
256
If None, defaults to ["folder", "file"].
0 commit comments