Skip to content
Snippets Groups Projects
  1. Dec 21, 2022
    • Ilja's avatar
      Correct order of routes · 2751210e
      Ilja authored and Haelwenn's avatar Haelwenn committed
      We check for the first unhidden route, so the order needs to match the order on the sidebar. This is now fixed.
      2751210e
    • Hélène's avatar
      Apply 1 suggestion(s) to 1 file(s) · 1a70822d
      Hélène authored and Haelwenn's avatar Haelwenn committed
      1a70822d
    • Ilja's avatar
      Statuses "Change scope" dropdown · 62147fb6
      Ilja authored and Haelwenn's avatar Haelwenn committed
      62147fb6
    • Ilja's avatar
      Don't show create new account button if not privileged · 43462afe
      Ilja authored and Haelwenn's avatar Haelwenn committed
      In view Users
      43462afe
    • Ilja's avatar
      Add privileges to Moderator dropdown · 77978afb
      Ilja authored and Haelwenn's avatar Haelwenn committed
      A dropdown in Users and Statuses views.
      77978afb
    • Ilja's avatar
      Add privileges to "Moderate multiple users" dropdown · c485a974
      Ilja authored and Haelwenn's avatar Haelwenn committed
      This is a Dropdown in the Users tab.
      There's still the problem that a non-admin is unaware when TagPolicy is enabled or not.
      If that can be fixed, it will work properly with current implementation.
      c485a974
    • Ilja's avatar
      Fix redirect after login and do sidebar differently · 5d3ba473
      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.
      5d3ba473
    • Ilja's avatar
      Filter sidebar menu's that user isn't privileged for · e43d1caf
      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.
      e43d1caf
    • Ilja's avatar
      Make sure non-admin can log in · 68ad3c35
      Ilja authored and Haelwenn's avatar Haelwenn committed
      For some reason it checks if the roles are alredy filled in.
      But roles can be empty now, so instead we also check if privileges are empty.
      68ad3c35
    • Ilja's avatar
      Add privileges after login · cce6478a
      Ilja authored and Haelwenn's avatar Haelwenn committed
      cce6478a
    • Haelwenn's avatar
      Merge branch 'coverage' into 'develop' · 83288f23
      Haelwenn authored
      CI: Extract test coverage information
      
      See merge request !322
      83288f23
    • Haelwenn's avatar
      jest: Use text-summary reporter · 001d2f43
      Haelwenn authored
      001d2f43
    • Haelwenn's avatar
      CI: Extract test coverage information · d36644f4
      Haelwenn authored
      d36644f4
  2. Dec 20, 2022
  3. Dec 19, 2022
  4. Dec 18, 2022
  5. Nov 29, 2022
  6. Nov 28, 2022
  7. Nov 27, 2022
  8. Nov 21, 2022
  9. Nov 11, 2022
  10. Nov 01, 2022
  11. Sep 28, 2022
  12. Sep 22, 2022
  13. Sep 20, 2022
Loading