Eligible_folders returns empty as user

Hi, I use the following code in CustomizeRequest to put a VM in a specific folder:

group = $evm.root['user'].ldap_group

folder = prov.elegible_folders.select { |folder| folder.name.downcase == group }.first

if prov.get_option(:placement_folder_name).nil?
  $evm.log("info", "Placing VM in VC folder: <#{folder}")
  prov.set_folder(folder)
end

It works fine if the User if superadmin, but if the user is EvmRole-user_self_service elegible_folders returns nil:
$evm.root[‘miq_provision’].eligible_folders (type: Association (empty))

Are there any permission required for this? The user has visibility on his folder via the “Assigned Filters” tab