Hi,

at the moment i'm trying to write an app, and im trying to get some config-data from the oc_appconfig table. E.g there is an entry like

appid      configkey        configvalue
myapp      url              http://example.com

My app needs this url, because fetching some data from this url. In particular this means every user, also non-admin user, needs this config-key. If I use OC.AppConfig.getConfig(..) for the javascript stuff, i get config values only if i loggt in as admin user. Because OC.AppConfig.getConfig makes an ajax-call to core/ajax/appconfig.php and this checks as first OC_Util::checkAdminUser();

Is there a way to get the appconfig keys for non-admin users without creating an own ajax-file.

Thanks
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to