bitfumes / laravel-multiauth

Multi Auth and admin auth in Laravel Project
MIT License
471 stars 104 forks source link

hidden section for a different role issue #131

Open rebarhama opened 3 years ago

rebarhama commented 3 years ago
@admin('sales')
<section>
Only For sales
</section>
@endadmin
@admin('super')
<section>
Only For Super
</section>
@endadmin

While login with other admin roles like super, the sales section is still visible.

note: I use the latest version of this package with laravel 7.

sanmitpawar commented 3 years ago
@admin('sales')
<section>
Only For sales
</section>
@endadmin
@admin('super')
<section>
Only For Super
</section>
@endadmin

While login with other admin roles like super, the sales section is still visible.

note: I use the latest version of this package with laravel 7.

for the super role everything is accessible