* Jiří Suchomel <jsuchome@suse.cz> [Aug 18. 2009 15:06]:
Reading custom_services.yml does not need privileges.
No, at least not for Read. But if I'd need it for Execute, there's no point in reading it at two places.
You read it (unprivileged) in the service controller an pass that value (the command to execute) down to the scr bash agent. No need to make any changes an the YaPI layer.
I strongly believe leaving the YaPI layer untouched and doing a simle 'YAML.load(...)' in the webservice controller has far lower effort.
+ for YaPI is security for free and using existing DBUS service
Calling YAML::LoadFile from Perl is equally simple as YAML.load in ruby, isn't it
Not quite. By depending on perl:YaML you're adding a new package dependency. We have to be extra careful with WebYaST external dependencies and check for maintenance coverage. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org