summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/config.xml
blob: b086f8a09902266d20071ce672c86b2343c48468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>

<configuration>

  <modules>
    <!-- user manager module -->
  	<module id="users" class="Application.App_Code.UserManager" />
    <!-- auth manager module -->
    <module id="auth" class="Application.App_Code.TrackerAuthManager" 
		UserManager="users" LoginPage="TimeTracker.Login" />
  </modules>

  <authorization>
    <allow roles="admin" />
	<allow pages="ProjectList, ProjectDetails, ReportResource, ReportProject" roles="manager" />
	<allow pages="LogTimeEntry" roles="consultant" />
	<allow pages="UserCreate,Logout,Login" users="*" />
    <deny users="*" />
  </authorization>

  <pages MasterClass="Application.pages.TimeTracker.MainLayout" Theme="TimeTracker" />

  <parameters>
  	<parameter id="NewUserRoles" value="admin,manager,consultant" />
  </parameters>
</configuration>