vendredi 24 février 2017

How to Implement custom role management for users in laravel 5.4.6

Hello I am working on custom user role management ( not using laravel built in implementation ) , i have following tables

1- User 2- Role 3- User_Role

Problem I want to show different layouts according to logged in user on the behalf of current logged in user role.

Here is master layout code

<section id="container" class="" style="">

    @include('frontend.header.header')

        @include('frontend.sidebar.sidebar')

        <div class="admin_right_content">
        @section('content')
        @show
    </div>
</section>

This layout should be changed according to authenticated user, please guide me, thanks




Aucun commentaire:

Enregistrer un commentaire