New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system/elektra/version|modules should have restrict/write, restrict/remove #2109

markus2330 opened this Issue Jun 23, 2018 · 0 comments


None yet
1 participant

markus2330 commented Jun 23, 2018

Steps to Reproduce the Problem

Try to change or remove "system/elektra/version/constants/KDB_VERSION" in the WebUI.

Expected Result

There should be no way to change or remove it (because of metadata restrict/write, restrict/remove).

Actual Result

You get the typical errors you get in the command-line interface.

System Information

  • Elektra Version: master

Implementation Hints

The meta data restrict/write and restrict/remove (both with value "1") need to be added using keyCopyAllMeta in elektraVersionGet (src/libs/elektra/plugin.c line 411) and somewhere around src/libs/elektra/backend.c line 350.

(Adding it using src/include/ would need more memory)

@markus2330 markus2330 changed the title from version plugin should have restrict/write, restrict/remove to system/elektra/version|modules should have restrict/write, restrict/remove Jun 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment