[Beaker-devel] New sub-command to list access policy for a system
Amit Saha
asaha at redhat.com
Wed Sep 25 05:25:25 UTC 2013
>
>
> Considering that the user/group names can and will most likely vary,
(In length and hence to have consistent output).
> I used PrettyTable [1] to print the rules (when invoked with --format=list).
> Example:
>
> +------+-------+--------+----------------+
> | Rule | User | Group | Permission |
> +------+-------+--------+----------------+
> | 1 | user7 | None | edit_system |
> | 2 | user8 | None | control_system |
> | 3 | None | group9 | control_system |
> +------+-------+--------+----------------+
>
> The patch is here [2].
>
>
> [1] https://pypi.python.org/pypi/PrettyTable/ (Already available in RHEL 6
> and Fedora repositories)
> [2] http://gerrit.beaker-project.org/#/c/2293/
>
> -Amit.
> _______________________________________________
> Beaker-devel mailing list
> Beaker-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/beaker-devel
>
More information about the Beaker-devel
mailing list