Based on runlinenl/nova-profile-tool with a few fixes, changes and improvements.
When this tool is added to Nova, you can let users update their profile data without giving them access to the full User resource under 'Resources'.
You can install the package in to a Laravel app that uses Nova via composer:
composer require saintsystems/nova-edit-profile
Next up, you must register the tool with Nova. This is typically done in the tools
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
return [
// ...
new \SaintSystems\Nova\EditProfile\EditProfile,
];
}
Click on the "Profile" menu item in your Nova app to see the tool provided by this package.
composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email contact@saintsystems.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.