for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Foundation\Seeds;
use Arcanesoft\Auth\Seeds\RolesSeeder;
/**
* Class RoleTableSeeder
*
* @package Arcanesoft\Auth\Seeds\Foundation
* @author ARCANEDEV <[email protected]>
*/
class RolesTableSeeder extends RolesSeeder
{
/* -----------------------------------------------------------------
| Main Methods
| -----------------------------------------------------------------
* Run the database seeds.
public function run()
$this->seed([
[
'name' => 'LogViewer Manager',
'description' => 'The LogViewer manager role.',
'is_locked' => true,
],
'name' => 'Backups Manager',
'description' => 'The Backups manager role.',
]);
$this->syncAdminRole();
$this->syncRoles([
'logviewer-manager' => 'foundation.logviewer.',
'backups-manager' => 'foundation.backups.',
}