Bug #7366
Mis à jour par Frédéric Péters il y a presque 9 ans
For sidepage integration with our other apps, authentic should respond on /manage/menu.json(?callback=whatever) /manager/menu.json(?callback=whatever) with such a content:
<pre>
test([
{"url": "http://authentic/manage/organizational-units/", "icon": "ou", "slug": "ou", "label": "Organizational Units"},
{"url": "http://authentic/manage/users/", "icon": "users", "slug": "users", "label": "Users"},
{"url": "http://authentic/manage/roles/", "icon": "roles", "slug": "forms", "label": "Roles"}
]);
</pre>
(of course it should only contain those that are accessible to the user).
<pre>
test([
{"url": "http://authentic/manage/organizational-units/", "icon": "ou", "slug": "ou", "label": "Organizational Units"},
{"url": "http://authentic/manage/users/", "icon": "users", "slug": "users", "label": "Users"},
{"url": "http://authentic/manage/roles/", "icon": "roles", "slug": "forms", "label": "Roles"}
]);
</pre>
(of course it should only contain those that are accessible to the user).