Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0.4, 4.0.5, 4.1
Description
Trying to add a service with restrictedusers parameter set to 0 (or not at all), will throw an error as no authorized user can be set by default. Services and functions can by default in plugin/db/services.php, users cannot be.
It seems that either the lib/upgradelib.php external_update_descriptions method should be improved to include the addition of default authorized users or get_in_or_equal call should be passed a fifth option in webservice/lib.php to avoid throwing errors.