vyuldashev / nova-permission

A Laravel Nova tool for Spatie's laravel-permission library
https://novapackages.com/packages/vyuldashev/nova-permission
419 stars 217 forks source link

Laravel 9 support #174

Open stepanenko3 opened 2 years ago

nbyloff commented 2 years ago

Is this project abandoned by @vyuldashev ? I noticed no response to the spatie permissions v5 pull requests or issues for months. Now L9 is here and if you're using this package you cannot update.

kiritokatklian commented 2 years ago

@nbyloff @stepanenko3 Since this package seems to be abandoned I created a new fork that supports Laravel 9 (https://github.com/vyuldashev/nova-permission/pull/167), PHP 8.1, and some of the useful PRs (https://github.com/vyuldashev/nova-permission/pull/144, https://github.com/vyuldashev/nova-permission/pull/157): kiritokatklian/nova-permission

Replace vyuldashev/nova-permission with kiritokatklian/nova-permission and you're good to go.

Hopefully @vyuldashev updates the main package soon, but until then my fork will be maintained and kept up to date.

kephren226 commented 2 years ago

@nbyloff @stepanenko3 Since this package seems to be abandoned I created a new fork that supports Laravel 9 (#167), PHP 8.1, and some of the useful PRs (#144, #157): kiritokatklian/nova-permission

Replace vyuldashev/nova-permission with kiritokatklian/nova-permission and you're good to go.

Hopefully @vyuldashev updates the main package soon, but until then my fork will be maintained and kept up to date.

Thanks for the initiative

kephren226 commented 2 years ago

@nbyloff @stepanenko3 Since this package seems to be abandoned I created a new fork that supports Laravel 9 (#167), PHP 8.1, and some of the useful PRs (#144, #157): kiritokatklian/nova-permission

Replace vyuldashev/nova-permission with kiritokatklian/nova-permission and you're good to go.

Hopefully @vyuldashev updates the main package soon, but until then my fork will be maintained and kept up to date.

i'm alse trying to hide roles from nova sidebar is there a way to do it without cansee method ? using the cansee method make roleSelect empty I juste wnat to hide it from sidebar without revoking permissions

Sotiris-k commented 2 years ago

Hey @kiritokatklian thank you for your fork. I noticed that you deactivated issues though and there's noway to discuss things.

kiritokatklian commented 2 years ago

Hey @kiritokatklian thank you for your fork. I noticed that you deactivated issues though and there's noway to discuss things.

Good catch, I enabled it.

Otienoh commented 2 years ago

Hey @kiritokatklian Thanks for the initiative. I Hope @vyuldashev is safe amidst the current tensions.