Revert "[security] Added support from doAs from a non visible path"

This reverts commit e460c5e0d373f20bbdf1c88d12c328e9a19822b3.
[security] Fixed tree actions for Hive
[security] Support for hive tree linking
Merge remote-tracking branch 'remotes/origin/sentry' into sentry