Closed fbrissi closed 5 years ago
But this required implementation creates RolePolicy and PermissionPolicy. These policies should be created in framework or by implementation?
Hello @fbrissi
Thanks for improving the package. Going to merge this in as soon as I decide whether there should be a RolePolicy and PermissionPolicy in the Package.
Regards
@bajramemini if you do not plan to merge this PR. Perhaps I can include a documentation for others to implment it themselves should they choose to.
In fact, when you create policy for roles and permission, both are not hidden.
Added
@can
forviewAny
to hide when no has access.