lp:~kissiel/checkbox/confined-permission-control
- Get this branch:
- bzr branch lp:~kissiel/checkbox/confined-permission-control
Branch merges
- Zygmunt Krynicki (community): Approve
-
Diff: 316 lines (+129/-24)8 files modifiedcheckbox-touch/build-me (+47/-0)
checkbox-touch/checkbox-touch.qml (+1/-1)
checkbox-touch/components/CheckboxTouchApplication.qml (+6/-0)
checkbox-touch/components/QmlConfinedPage.qml (+28/-4)
checkbox-touch/confinement/generate.py (+20/-16)
checkbox-touch/manifest.json (+2/-2)
checkbox-touch/py/checkbox_touch.py (+24/-1)
plainbox/plainbox/data/plainbox-qml-modules/Plainbox/QmlJob.qml (+1/-0)
Branch information
Recent revisions
- 4124. By Maciej Kisielewski
-
checkbox-
touch:build- me: add building confinement This patch runs the task of building files necessary for confined qml tests to
work while building click package.From now on, after build-me successfully validates all the included providers,
it loads job units from them, checks if there's any qml confined job, and
generates appropriate files necessary to run those. It also overwrites the
manifest.json file, to include the new hooks.Signed-off-by: Maciej Kisielewski <email address hidden>
- 4123. By Maciej Kisielewski
-
checkbox-
touch:confineme nt: fix PEP-8 issues Signed-off-by: Maciej Kisielewski <email address hidden>
- 4122. By Maciej Kisielewski
-
checkbox-
touch:confineme nt: do not jsonize by default This patch makes generate result hook object instead of strigified json. This
makes easier to handle marshalling everything together in a calling function.Signed-off-by: Maciej Kisielewski <email address hidden>
- 4121. By Maciej Kisielewski
-
checkbox-
touch:confineme nt: make generate_ confinement return the hook Signed-off-by: Maciej Kisielewski <email address hidden>
- 4120. By Maciej Kisielewski
-
checkbox-touch: rename generate-
confinement to make it importable Signed-off-by: Maciej Kisielewski <email address hidden>
- 4119. By Maciej Kisielewski
-
checkbox-touch: add logic for dropping permissions for confined tests
This patch adds the logic that pulls information from the test's qml file about
which permissions to clear, and calls appropriate bits.
To extract this info we first instantiate the QmlJob object in a fake container
Item, so te field is initiated as test author specified, then immedietaly (and
synchronously) destroyed, so all resources are (not sure about that :)) freed.
Signed-off-by: Maciej Kisielewski <email address hidden> - 4118. By Maciej Kisielewski
-
plainbox:
data:plainbox- qml-modules: add 'clearedPermiss ions' field This patch adds a field specifying which permissions to clear from the trust
database for the confined test that is about to be started.
The value of this field is an array containg any combination of following
strings: 'camera', 'audio', and 'location'.Signed-off-by: Maciej Kisielewski <email address hidden>
- 4117. By Maciej Kisielewski
-
checkbox-touch: add dropPersmission function
Signed-off-by: Maciej Kisielewski <email address hidden>
- 4116. By Maciej Kisielewski
-
checkbox-touch: correct version in manifest to match PB format
Signed-off-by: Maciej Kisielewski <email address hidden>
- 4115. By Maciej Kisielewski
-
checkbox-touch: bump version in py backend
Signed-off-by: Maciej Kisielewski <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox