lp:~kissiel/checkbox/confined-permission-control

Created by Maciej Kisielewski and last modified
Get this branch:
bzr branch lp:~kissiel/checkbox/confined-permission-control
Only Maciej Kisielewski can upload to this branch. If you are Maciej Kisielewski please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Maciej Kisielewski
Project:
Checkbox
Status:
Merged

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:confinement: fix PEP-8 issues

Signed-off-by: Maciej Kisielewski <email address hidden>

4122. By Maciej Kisielewski

checkbox-touch:confinement: 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:confinement: 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 'clearedPermissions' 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
This branch contains Public information 
Everyone can see this information.