BaseFSDir
# File lib/chef/chef_fs/file_system/acls_dir.rb, line 39 def api_path parent.api_path end
# File lib/chef/chef_fs/file_system/acls_dir.rb, line 43 def can_have_child?(name, is_dir) is_dir ? ENTITY_TYPES.include(name) : name == 'organization.json' end
# File lib/chef/chef_fs/file_system/acls_dir.rb, line 47 def children if @children.nil? @children = ENTITY_TYPES.map do |entity_type| case entity_type when 'cookbooks' CookbooksAclDir.new(entity_type, self) else AclDir.new(entity_type, self) end end @children << AclEntry.new('organization.json', self, true) # the org acl is retrieved as GET /organizations/ORGNAME/ANYTHINGATALL/_acl end @children end
Generated with the Darkfish Rdoc Generator 2.