Silvanite / novatoolpermissions

Laravel Nova Permissions Tool (User, Roles and Permissions / Access Control (ACL))
MIT License
101 stars 33 forks source link

Publish Ressources #24

Closed StanBarrows closed 5 years ago

StanBarrows commented 5 years ago

Is there any proper way to publish & override the following resource to the project by default?

Cheers, Stan

m2de commented 5 years ago

Hey @StanBarrows.

  1. Nova Role Resource – Not currently, but it should be pretty straight forward to add this functionality, however it then adds some additional complications in that I imagine you would also want to extend the Role model?
  2. Policies. I believe if you load your own Policies for the models it will replace the existing ones, however I'm not 100% sure on this. Wouldn't take much to make these configurable if it doesn't work though.

Cheers.

StanBarrows commented 5 years ago

Hi m2de

First of all thanks for the reply.

I'll let you know if I've tested everything out.