File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed
src/administrator/components/com_ccm/src Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ public function apply()
2727 ['source ' => 'categories ' , 'target ' => 'categories ' ],
2828 ['source ' => 'tags ' , 'target ' => 'tags ' ],
2929 ['source ' => 'media ' , 'target ' => 'media ' ],
30+ ['source ' => 'users ' , 'target ' => 'users ' ],
3031 ['source ' => 'pages ' , 'target ' => 'articles ' ],
3132 ['source ' => 'posts ' , 'target ' => 'articles ' ],
3233 ['source ' => 'menus ' , 'target ' => 'menus ' ],
Original file line number Diff line number Diff line change 331331 "default" : " *"
332332 }
333333 }
334+ },
335+ {
336+ "type" : " users" ,
337+ "config" : {
338+ "endpoint" : " users"
339+ },
340+ "properties" : {
341+ "id" : " id" ,
342+ "name" : " name" ,
343+ "email" : " email" ,
344+ "username" : " username" ,
345+ "password" : {
346+ "ccm" : " password" ,
347+ "format" : " password"
348+ },
349+ "groups" : {
350+ "ccm" : " roles" ,
351+ "type" : " array" ,
352+ "format" : " array" ,
353+ "map" : {
354+ "subscriber" : 2 ,
355+ "contributor" : 3 ,
356+ "author" : 3 ,
357+ "editor" : 4 ,
358+ "administrator" : 7 ,
359+ "super_admin" : 8
360+ },
361+ "default" : 2
362+ },
363+ "status" : " status" ,
364+ "registerDate" : " date" ,
365+ "modified" : " modified" ,
366+ "last_login" : " last_login" ,
367+ "avatar" : " avatar"
368+ }
334369 }
335370 ]
336371}
Original file line number Diff line number Diff line change 204204 "content_ID" : " object_id" ,
205205 "meta" : " meta"
206206 }
207+ },
208+ {
209+ "type" : " users" ,
210+ "properties" : {
211+ "ID" : " id" ,
212+ "login" : " login" ,
213+ "email" : " email" ,
214+ "name" : " name" ,
215+ "first_name" : " first_name" ,
216+ "last_name" : " last_name" ,
217+ "nice_name" : " username" ,
218+ "URL" : " url" ,
219+ "avatar_URL" : " avatar_url" ,
220+ "profile_URL" : " profile_url" ,
221+ "roles" : " roles" ,
222+ "site_ID" : " site_id" ,
223+ "date" : " date" ,
224+ "is_super_admin" : " super_admin" ,
225+ "site_visible" : " visible" ,
226+ "primary_blog" : " primary_blog" ,
227+ "meta" : " meta"
228+ }
207229 }
208230 ]
209231}
You can’t perform that action at this time.
0 commit comments