Skip to content
Snippets Groups Projects
  1. Oct 30, 2018
    • Andreas Gohr's avatar
      add event to check access to admin plugins · 64cdf779
      Andreas Gohr authored
      This adds a new method that capsulates the access check that has to be
      done to decide if an admin plugin's page should be shown to the user.
      The default implementation is the same as before, relying only on the
      forAdminOnly() method and the users' isadmin or ismanager status.
      
      Admin plugins themselves can override the method to do additional
      checks. In this patch, I added that to the usermanager plugin which will
      only return true if the current auth backend can list users.
      
      However the real idea behind this change is that the new method emits a
      new event called ADMINPLUGIN_ACCESS_CHECK which would allow plugins to
      overwrite it. This way it could be possible to give certain user groups
      access to certain admin plugins without giving them admin or manager
      permissions.
      
      Note: this does not change how the "Admin" link is shown, it still
      depends on ismanager or isadmin. A plugin as mentioned above would need
      to influence the display via the MENU_ITEMS_ASSEMBLY event.
      
      Note: this only covers the basic access check. Admin plugins may need
      further adjustments for access to other parts of the plugin (like AJAX
      components). An additional commit will update this for the bundled
      plugins.
      64cdf779
  2. Aug 17, 2018
  3. Jun 07, 2018
  4. Apr 27, 2018
  5. Apr 26, 2018
  6. Apr 25, 2018
  7. Apr 20, 2018
  8. Apr 12, 2018
  9. Apr 11, 2018
    • Andreas Gohr's avatar
      shortened new search configs · 13ce475d
      Andreas Gohr authored
      shorter names are more in line with what we already use, makes less
      layout problems in the documentation and is easier to type when telling
      people about it.
      13ce475d
  10. Mar 29, 2018
  11. Mar 27, 2018
  12. Mar 26, 2018
  13. Mar 22, 2018
    • Michael Große's avatar
      feat(search): add config options to adjust default behavior · d09b5b64
      Michael Große authored
      This adds two new config options:
      
      `search_limit_to_first_ns`:
      Limit the search to the current X namespaces. When a search is executed
      from a page within a deeper namespace, the first X namespaces will be
      added as filter.
      Possible use case could be with language namespaces to ensure that the
      default search is initially within the current language.
      
      `search_default_fragment_behaviour`:
      Option to specify the default fragment search behavior
      Unverified
      d09b5b64
  14. Mar 19, 2018
  15. Sep 02, 2017
  16. Aug 27, 2017
  17. May 18, 2017
  18. May 17, 2017
  19. May 13, 2017
  20. Apr 01, 2017
  21. Mar 31, 2017
Loading