Find all users who have access to a folder
Currently, we have created folders in DAM like the following
A
-- B
--- C
A has 1 user, B has 2 and C has 3. Entire folder structure is protected by CUG and granted access to specific groups. What we want is notification to be sent to specific groups based on access. So if I upload document at C, it should only send notification to users under the group that have access to C.
If i upload document at B, it should send notification to all users/groups under C and B
Currently the way we are doing it is, get all users in the repository and checking access against that level. Instead, what would be effifient is to get all users who have access to that folder based on a CUG
Is there an API to get specifically list of users who have access to a folder?