fs_children_have_permission_p (private)
fs_children_have_permission_p [ -user_id user_id ] item_id privilege
Defined in packages/file-storage/tcl/file-storage-procs.tcl
This procedure, given a content item and a privilege, checks to see if there are any children of the item on which the user does not have that privilege.
- Switches:
- -user_id (optional)
- Parameters:
- item_id (required)
- privilege (required)
- Returns:
- 0 if there is any child item on which the user does not have the privilege. It returns 1 if the user has the privilege on every child item.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.