laravel-multiauth
laravel-multiauth copied to clipboard
hidden section for a different role issue
@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.
@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