Skip to content
Snippets Groups Projects
  1. Sep 10, 2021
  2. 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
  3. Jul 26, 2021
  4. Jun 22, 2021
  5. Jun 17, 2021
  6. Jun 13, 2021
  7. May 15, 2021
  8. May 11, 2021
  9. May 01, 2021
  10. Mar 14, 2021
Loading