fixing accounts panel z index
[Bookkeeping.git] / xml / example.aauthentication.xml
blob73a82da9d2e8b76db7e978b748053fec82f3dba8
1 <?xml version='1.0' encoding='UTF-8'?>
2 <system xmlns='com/interrupt/bookkeeping' 
3                 xmlns:users='com/interrupt/bookkeeping/users' 
4                 xmlns:bkell='com/interrupt/bookkeeping/cc/bkell' 
5                 xmlns:command='com/interrupt/bookkeeping/cc/bkell/command' 
6                 xmlns:interpret='com/interrupt/bookkeeping/interpret' 
7                 xmlns:aauth='com/interrupt/bookkeeping/cc/bkell/aauth' 
8                 id='main.system' > 
9         
10         
11         <aauth:aauthentication id='main.authentication' sessiontimeout="6000" >
12                 
13                 <users:groups id="aauth.groups" >
14                         <users:group id="webkell" name="Webkell" owner="root" >
15                                 <users:user id="root" />
16                         </users:group>
17                 </users:groups>
18                 
19                 
20                 <!-- actions that a user is allowed to do -->
21                 <users:users id="aauth.users" >
22                         
23                         <!-- this user has a default 10 minute session timeout period (1000 * 60 * 10 = 600'000 milliseconds) --> 
24                         <users:user id="root" username="root" password="password" logintimeout="600000" 
25                              accountLevel="FREE" defaultGroup='webkell' authenticated="" >
26                                 
27                                 <users:userSession id='' groupid='' userid='' >
28                                     <aauth:aauthentication />
29                                 </users:userSession>
30                                 
31                                 <aauth:allowedActions id="root.allowedActions" >
32                                         <command:command id='command.create' name='create' />
33                                         <command:command id='command.add' name='add' />
34                                         <command:command id='command.remove' name='remove' />
35                                         <command:command id='command.reverse' name='reverse' />
36                                         <command:command id='command.find' name='find' />
37                                         <command:command id='command.load' name='load' />
38                                         <command:command id='command.list' name='list' />
39                                         <command:command id='command.print' name='print' />
40                                         <command:command id='command.commit' name='commit' />
41                                         <command:command id='command.login' name='login' />
42                                         <command:command id='command.logout' name='logout' />
43                                         <command:command id='command.exit' name='exit' />
44                                 </aauth:allowedActions>
45                                 
46                                 <users:profileDetails id='user.details' >
47                                         <users:profileDetail id='first.name' name='first.name' value='' />
48                                         <users:profileDetail id='last.name' name='last.name' value='' />
49                                         <users:profileDetail id='name' name='email' value='' />
50                                         <users:profileDetail id='country' name='country' value='' />
51                                 </users:profileDetails>
52                                 
53                         </users:user>
54                 </users:users>
55                 
56         </aauth:aauthentication>
57         
58 </system>