[FEATURE] Add userGroups to backendUser model
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / ext_typoscript_setup.txt
1 config.tx_extbase {
2         objects {
3                 TYPO3\CMS\Extbase\Persistence\QueryInterface {
4                         className = TYPO3\CMS\Extbase\Persistence\Generic\Query
5                 }
6                 TYPO3\CMS\Extbase\Persistence\QueryResultInterface {
7                         className = TYPO3\CMS\Extbase\Persistence\Generic\QueryResult
8                 }
9                 TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface {
10                         className = TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager
11                 }
12                 TYPO3\CMS\Extbase\Persistence\Generic\Storage\BackendInterface {
13                         className = TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend
14                 }
15                 TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface {
16                         className = TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings
17                 }
18         }
19         mvc {
20                 requestHandlers {
21                         TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler = TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler
22                         TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler = TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler
23                         TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler = TYPO3\CMS\Extbase\Mvc\Cli\RequestHandler
24                 }
25                 throwPageNotFoundExceptionIfActionCantBeResolved = 0
26         }
27         persistence{
28                 enableAutomaticCacheClearing = 1
29                 updateReferenceIndex = 0
30                 classes {
31                         TYPO3\CMS\Extbase\Domain\Model\FileMount {
32                                 mapping {
33                                         tableName = sys_filemounts
34                                         columns {
35                                                 title.mapOnProperty = title
36                                                 path.mapOnProperty = path
37                                                 base.mapOnProperty = isAbsolutePath
38                                         }
39                                 }
40                         }
41                         TYPO3\CMS\Extbase\Domain\Model\BackendUser {
42                                 mapping {
43                                         tableName = be_users
44                                         columns {
45                                                 username.mapOnProperty = userName
46                                                 admin.mapOnProperty = isAdministrator
47                                                 usergroup.mapOnProperty = backendUserGroups
48                                                 disable.mapOnProperty = isDisabled
49                                                 realName.mapOnProperty = realName
50                                                 starttime.mapOnProperty = startDateAndTime
51                                                 endtime.mapOnProperty = endDateAndTime
52                                                 disableIPlock.mapOnProperty = ipLockIsDisabled
53                                                 lastlogin.mapOnProperty = lastLoginDateAndTime
54                                                 file_mountpoints.mapOnProperty = fileMounts
55                                         }
56                                 }
57                         }
58                         TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup {
59                                 mapping {
60                                         tableName = be_groups
61                                         columns {
62                                                 subgroup.mapOnProperty = subGroups
63                                                 groupMods.mapOnProperty = modules
64                                                 tables_select.mapOnProperty = tablesListening
65                                                 tables_modify.mapOnProperty = tablesModify
66                                                 pagetypes_select.mapOnProperty = pageTypes
67                                                 non_exclude_fields.mapOnProperty = allowedExcludeFields
68                                                 explicit_allowdeny.mapOnProperty = explicitlyAllowAndDeny
69                                                 allowed_languages.mapOnProperty = allowedLanguages
70                                                 workspace_perms.mapOnProperty = workspacePermission
71                                                 db_mountpoints.mapOnProperty = databaseMounts
72                                                 fileoper_perms.mapOnProperty = fileOperationPermissions
73                                                 lockToDomain.mapOnProperty = lockToDomain
74                                                 hide_in_lists.mapOnProperty = hideInList
75                                                 TSconfig.mapOnProperty = tsConfig
76                                         }
77                                 }
78                         }
79                         TYPO3\CMS\Extbase\Domain\Model\FrontendUser {
80                                 mapping {
81                                         tableName = fe_users
82                                         recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUser
83                                         columns {
84                                                 lockToDomain.mapOnProperty = lockToDomain
85                                         }
86                                 }
87                         }
88                         TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup {
89                                 mapping {
90                                         tableName = fe_groups
91                                         recordType = TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup
92                                         columns {
93                                                 lockToDomain.mapOnProperty = lockToDomain
94                                         }
95                                 }
96                         }
97                         TYPO3\CMS\Extbase\Domain\Model\Category {
98                                 mapping {
99                                         tableName = sys_category
100                                 }
101                         }
102                 }
103         }
104         features {
105                  # this enables/disables the reworked property mapper (see http://forge.typo3.org/projects/typo3v4-mvc/wiki/PropertyMapper_rework)
106                 rewrittenPropertyMapper = 0
107                  # if enabled, default controller and/or action is skipped when creating URIs through the URI Builder (see http://forge.typo3.org/projects/typo3v4-mvc/wiki/Skip_default_arguments_in_URIs)
108                 skipDefaultArguments = 0
109                 # if set to 1, the enable fields are ignored in BE context
110                 ignoreAllEnableFieldsInBe = 0
111         }
112 }