mirror of
https://git.proxmox.com/git/pve-storage.git
synced 2026-11-23 07:03:14 +00:00
No description
- Perl 98.9%
- Makefile 0.7%
- Prolog 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The API takes the sensitive properties out of the parameters before it checks them against the options of the storage type, and passes them to the plugin's hooks. So a plugin that does not isolate its properties could take one, like the password of the fallback list, without listing it in its options, as the schema had the properties of all plugins. Once one plugin isolates its properties, the API checks the parameters of each type against a schema of its own options, so adding or updating such a storage failed with "property is not defined in schema". Add the sensitive properties to the schemas of these types on the conditions of the schema of all plugins: an update can only set one that some type which does not isolate its properties lists as an option that is not fixed. They are accepted by their own names, an alias that only another plugin declares for one is not. Deleting one stays refused, and the schemas of the in-tree plugins do not change, as they list theirs. Signed-off-by: Thomas Lamprecht <[email protected]> |
||
| debian | ||
| src | ||
| .gitignore | ||
| ApiChangeLog | ||
| Makefile | ||