Skip to content
Snippets Groups Projects
  1. Dec 18, 2022
    • Ilja's avatar
      Don't call reports count when not privileged · 3d4e9394
      Ilja authored and Haelwenn's avatar Haelwenn committed
      The sidebar shows the report count. Even when not privileged, the call was done to get the count.
      3d4e9394
    • Ilja's avatar
      Fix redirect after login and do sidebar differently · 906f6880
      Ilja authored and Haelwenn's avatar Haelwenn committed
      I noticed that the routes have an option `hidden`. This is what's used to show or hide items in the sidebar.
      Now we set this option after login before adding the routes.
      
      The redirect for root is now also set after login before adding the route.
      That way we can set the route to the path corresponding with the first item in the sidebar.
      When there's no unhidden route (e.g. when admin-fe doesn't know about any privilege the user has), the redirect goes to /401.
      906f6880
    • Ilja's avatar
      Filter sidebar menu's that user isn't privileged for · de16da3c
      Ilja authored and Haelwenn's avatar Haelwenn committed
      = This is a combination of 2 commits.
      = This is the 1st commit message:
      
      Atm you're redirected to /users after login even when you aren't privileged to any of the user actions. This should be addressed in a following commit.
      
      It will only show the menu's on the left for which you are privileged. This can be depending on role (e.g. settings for admin) or privilege (e.g. user actions).
      
      = This is the 2nd commit message:
      
      It will only show the menu's on the left for which you are privileged. This is depending on privileges.
      
      The redirect for root is now also set after login before adding the route.
      That way we can set the route to the path corresponding with the first item in the sidebar.
      When there's no unhidden route (e.g. when admin-fe doesn't know about any privilege the user has), the redirect goes to /401.
      de16da3c
  2. Sep 02, 2022
  3. Feb 10, 2021
  4. Jan 29, 2021
  5. Jan 28, 2021
  6. Jan 25, 2021
  7. Jul 14, 2020
  8. Jul 13, 2020
  9. Feb 15, 2019
  10. Jan 29, 2019
  11. Sep 30, 2018
  12. Aug 19, 2018
  13. Jul 13, 2018
    • 博文's avatar
      refactor(SidebarItem): optimizate SidebarItem (#845) · aa7eab58
      博文 authored
      * refactor(sidebar-item): optimizate SiderbarItem.
      
      * chore: update nested examples.
      
      * fix: fix a wrong path.
      
      * fix: fix a transition bug.
      
      * fix: fix a wrong path.
      
      * perf: using "router" mode of el-menu.
      
      * Revert "perf: using "router" mode of el-menu."
      
      This reverts commit cef02a30b02a31242521e9e678cfeaad6f09448c.
      
      * fix: complement i18n text.
      aa7eab58
  14. May 05, 2018
  15. Apr 18, 2018
  16. Apr 13, 2018
  17. Jan 04, 2018
  18. Dec 04, 2017
  19. Nov 27, 2017
  20. Nov 21, 2017
  21. Nov 16, 2017
  22. Nov 06, 2017
  23. Nov 01, 2017
  24. Oct 23, 2017
  25. Aug 28, 2017
  26. Aug 02, 2017
  27. Jul 28, 2017
  28. Jul 06, 2017
  29. Jun 14, 2017
  30. Jun 02, 2017
  31. May 31, 2017
  32. May 22, 2017
  33. May 17, 2017
  34. May 12, 2017
  35. May 08, 2017
  36. Apr 24, 2017
Loading