]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Add documentation for access control system
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 8 Aug 2013 10:51:01 +0000 (11:51 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 9 Aug 2013 16:13:02 +0000 (17:13 +0100)
commitda13f2c70c06c38c4f8feba1a5725652d2f1efc7
tree0ec3fb0dbd10435d3c6a5c7bac9c1b923e6a99c8
parent0f3f0fad8c65e664733148b8bb8a766a0b86c603
Add documentation for access control system

This adds two new pages to the website, acl.html describing
the general access control framework and permissions models,
and aclpolkit.html describing the use of polkit as an
access control driver.

page.xsl is modified to support a new syntax

  <div id="include" filename="somefile.htmlinc"/>

which will cause the XSL transform to replace that <div>
with the contents of 'somefile.htmlinc'. We use this in
the acl.html.in file, to pull the table of permissions
for each libvirt object. This table is autogenerated
from the enums in src/access/viraccessperms.h by the
genaclperms.pl script.

newapi.xsl is modified so that the list of permissions
checks shown against each API will link to the description
of the permissions in acl.html

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
.gitignore
docs/Makefile.am
docs/acl.html.in [new file with mode: 0644]
docs/aclpolkit.html.in [new file with mode: 0644]
docs/auth.html.in
docs/genaclperms.pl [new file with mode: 0755]
docs/newapi.xsl
docs/page.xsl
docs/sitemap.html.in
src/Makefile.am