How to remove and add some subtree access fro VacmSecurityTable

Hello Frank,

I have a requirement to remove specific subtrees from VacmAccessTable.
I am using addNewView and deleteView APIs with same view name and the required subtree index.
But its nor working always. Could you please let me know how to handle the scenario?



from what you wrote, you’re using the right functions. So it could be that you have multiple views for the same subtree that allow access. The longest matching subtree of a view wins and if it has view_included, access is allowed.
If you code is triggered to allow access to “” and later to “”, you can remove one of these views and still get access to “”.

Do you have an example of the configured views and an Oid that can be accessed although it should not?

Kind regards,