Add support for roles
authorRyan Lortie <desrt@desrt.ca>
Sun, 5 Aug 2012 16:54:34 +0000 (12:54 -0400)
committerRūdolfs Mazurs <rudolfsm@src.gnome.org>
Mon, 6 Aug 2012 16:32:10 +0000 (19:32 +0300)
commit67a50af7a733712c29d27a82d2c3cb637b22793b
tree7c2acbc633cdd9e0e7124b3a8ffbdba480bfeb1f
parent4a4c41c3445b921e99dfe2a27abaf4346be575a2
Add support for roles

A role is the highlevel description of the type of a user (for example,
"Teacher", "Student", etc).

This adds the basic support for role objects in the daemon.  Roles are
defined by keyfiles in /var/lib/AccountsService/roles (which are
currently read-only).  They can be listed using an interface on the main
daemon object.

Currently roles only have an identifier and a display name.
data/Makefile.am
data/org.freedesktop.Accounts.Role.xml [new file with mode: 0644]
data/org.freedesktop.Accounts.conf
data/org.freedesktop.Accounts.xml
src/Makefile.am
src/daemon.c
src/daemon.h
src/role.c [new file with mode: 0644]
src/role.h [new file with mode: 0644]
src/types.h