sailfishos / sailjail-permissions

Other
5 stars 17 forks source link

Add script to visualise permission relationships. #54

Closed Tomin1 closed 3 years ago

Tomin1 commented 3 years ago

This script allows to visualise permission relationships. It mostly deals with includes of other permissions. This is useful to tell if there are problematic implicit dependencies.

It also shows if permission can be directly included or if it's so called internal permission. That heuristic is based on missing translation category which is mostly correct indicator (there may be false negatives).

Additionally it shows if permission defines privileged data directory.

Graphviz is required to use this tool.