Skip to content
Snippets Groups Projects
  1. Sep 04, 2021
    • Julian's avatar
      Dedicated error page for permission errors · 2d0ed84b
      Julian authored
      Prior to this change permission errors (i.e. the user is logged in but does
      not have a required group) were reported with flash('Access denied') and a
      redirect to the selfservice index page. This causes two problems: The error
      is reported with HTTP status 301/200 which is difficult to check for in tests.
      This can also cause redirect loops as soon as the selfservice uses more
      differentiated permission checks (see #104).
      
      With this change a dedicated error page is displayed in place the requested
      page and the HTTP status 403 is returned. This is implemented with
      flask's errorhandler concept for 403.
      2d0ed84b
  2. Jul 26, 2021
  3. Jun 22, 2021
  4. Jun 17, 2021
  5. May 21, 2021
  6. May 15, 2021
  7. May 11, 2021
  8. Apr 05, 2021
  9. Feb 23, 2021
  10. Feb 19, 2021
  11. Feb 15, 2021
  12. Oct 26, 2020
Loading