Skip to content
Permalink
Branch: master
Commits on Jan 10, 2020
  1. Merge pull request #2855 from bwaidelich/bugfix/2854-hide-inaccessibl…

    bwaidelich committed Jan 10, 2020
    …e-modules
    
    BUGFIX: Hide inaccessible backend modules
Commits on Jan 6, 2020
  1. Merge pull request #2852 from dlubitz/patch-11

    bwaidelich committed Jan 6, 2020
    BUGFIX: Call getPersonalWorkspaceName just once
  2. BUGFIX: Hide inaccessible backend modules

    bwaidelich committed Jan 6, 2020
    Adds a ViewHelper `ifModuleAccessible` that allows to evaluate whether a
    given (sub) module is accessible to the currently authenticated user and
    uses that ViewHelper in the SubmoduleOverview partial in order to hide
    inaccessible modules from the module overview.
    
    Background:
    
    With #964 the `module.<submodule>.privilegeTarget` configuration became
    deprecated in favor of `ModulePrivilege`s but the partial only checked
    the "privilegeTarget" configuration.
    
    Note: This is just a quick fix for the bug. In the long run we should
    rewrite the whole backend module logic in order to move such crucial
    conditions from the view to the domain layer.
    
    Fixes: #2854
You can’t perform that action at this time.