title: PHP: Custom page landing for users
body: <p>I am building an application and my customer wants to implement a basic authentication system with group permissions. All good.<br></p>
  
  <p>The problem I want to tackle is that he wants to be able to set for each user group the default landing url, when they log in. He wants to do that via form, so it can't be hardcoded.</p>
  
  <p><strong>For example</strong>: Administratror's default url would be </p>
  
  <blockquote>
    <p>myapp/dashboard</p>
  </blockquote>
  
  <p>and the Writer's would be </p>
  
  <blockquote>
    <p>myapp/write</p>
  </blockquote>
  
  <p>At first i wanted to create the table for all url and connect them to groupPermissions table, but it look a bit redundant.</p>
  
  <p>My app is build with Laravel PHP Framework.</p>
  
  <p><strong>PROBLEM</strong>: What is the best way to approach this problem?</p>