laravel-multiauth icon indicating copy to clipboard operation
laravel-multiauth copied to clipboard

hidden section for a different role issue

Open rebarhama opened this issue 4 years ago • 1 comments

@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.

rebarhama avatar Oct 07 '20 07:10 rebarhama

@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

sanmitpawar avatar Dec 04 '20 07:12 sanmitpawar