Setup for a custom "landing page" after login

Infos:

  • Used Zammad version: 3.1.4
  • Used Zammad installation type: docker-compose
  • Operating system: RHEL 8
  • Browser + version: Firefox / Chrome…

Question:

I’d like to setup a different overview as default page after login either per user or per group so that the user gets directly to a pre-filtered list of tickets created in their group during the last 72h

How can I set up something like that ?

Thanks in advance.

That is a drastically outdated Zammad version. Please upgrade to the current stable (6.3.1 as of now) asap to secure your installation.

Ooop sorry my mistake : error of copy/paste.

I’m using the master branch of GitHub - zammad/zammad-docker-compose: Zammad Docker images for docker-compose and it’s current last known tag is v12.0.0

So as per commit log i’d say i’m with Zammad 6.3.1

Maybe the setting “default_controller” could help to change the default route after the login, when no “redirect_url” exists in the url.

Hello, thanks for your time, I appreciate it. :smiling_face_with_three_hearts:

Is it just a setup modification or do i need to patch the code to create a custom routing rule ? :thinking:

Maybe this helps: Advanced customization settings — Zammad System Documentation documentation

It can be done with the rails console.

Ok i’ll try this. Thank you. :pray:

I digged a bit… So you’re suggesting is something like this ?

zammad run rails r 'Setting.set("default_controller", "#ticket/view")' 

Or

zammad run rails r 'Setting.set("default_controller", "#other/path")' 

Correct ?

In this case i can’t see how it will depend on the user or the group… it seems to me it will be changed (good) for everybody without possible variation :thinking: