Renaming class name for clarity

parent 3ae3f77f
......@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
use Modules\User\Permissions\PermissionsAdder;
use Symfony\Component\Console\Input\InputArgument;
class GrantRolePermissionsCommand extends Command
class GrantModulePermissionsCommand extends Command
{
protected $name = 'asgard:user:grant-permissions';
protected $description = 'Grant all the permissions to the admin role of given module';
......
......@@ -8,7 +8,7 @@ use Illuminate\Support\ServiceProvider;
use Modules\Core\Events\BuildingSidebar;
use Modules\Core\Traits\CanGetSidebarClassForModule;
use Modules\Core\Traits\CanPublishConfiguration;
use Modules\User\Console\GrantRolePermissionsCommand;
use Modules\User\Console\GrantModulePermissionsCommand;
use Modules\User\Contracts\Authentication;
use Modules\User\Entities\UserToken;
use Modules\User\Events\Handlers\RegisterUserSidebar;
......@@ -68,7 +68,7 @@ class UserServiceProvider extends ServiceProvider
$this->getSidebarClassForModule('user', RegisterUserSidebar::class)
);
$this->commands([
GrantRolePermissionsCommand::class,
GrantModulePermissionsCommand::class,
]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment