mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 13:44:58 -06:00
21 lines
396 B
PHP
21 lines
396 B
PHP
|
<?php
|
||
|
|
||
|
use FireflyIII\Models\Role;
|
||
|
use Illuminate\Database\Seeder;
|
||
|
|
||
|
/**
|
||
|
* Class PermissionSeeder
|
||
|
*/
|
||
|
class PermissionSeeder extends Seeder
|
||
|
{
|
||
|
public function run()
|
||
|
{
|
||
|
$owner = new Role;
|
||
|
$owner->name = 'owner';
|
||
|
$owner->display_name = 'Site Owner';
|
||
|
$owner->description = 'User runs this instance of FF3'; // optional
|
||
|
$owner->save();
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|