# File lib/chef_zero/chef_data/acl_path.rb, line 93 def self.parent_acl_data_path(acl_data_path) if acl_data_path[0] == 'organizations' under_org = partition_parent_acl_data_path(acl_data_path[2..-1]) if under_org acl_data_path[0..1] + under_org else # ACL data path is /organizations/X/acls/root; therefore parent is "/organizations" [ 'acls', 'containers', 'organizations' ] end else partition_parent_acl_data_path(acl_data_path) end end