Add views access plugins

Created on 13 September 2024, 7 months ago
Updated 15 September 2024, 7 months ago

Problem/Motivation

Grant context role/permission access for views is missing,

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany c-logemann Frankfurt/M, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @c-logemann
  • 🇩🇪Germany c-logemann Frankfurt/M, Germany

    This is not a feature request because grant only provide UI fragments and Views is the current recommended way to create a custom UI.

  • 🇩🇪Germany c-logemann Frankfurt/M, Germany
  • Issue was unassigned.
  • Status changed to Fixed 7 months ago
  • 🇩🇪Germany c-logemann Frankfurt/M, Germany

    There are now the two views access plugins for role and for permission check which are cloned from core user module and connected to grant context strategy. To get this running I did some refactoring to get the access check through the same main class function from route access which is also used by views and the second check of views. The route access check can now be configured as multiple role check also from other contrib/custom modules. If using in contrib please do it like views is doing it a dynamical route change based on config because roles itself are config based.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024