TIPOFF / laravel-serpapi

Laravel Package for wrapper of SerpApi
MIT License
0 stars 1 forks source link

Permissions Migrations #10

Closed djamesfar closed 3 years ago

djamesfar commented 3 years ago

example from the Fees package:


    public function up()
    {
        $permissions = [
             'view fees' => ['Owner', 'Staff'],
             'create fees' => ['Owner'],
             'update fees' => ['Owner'],
             'delete fees' => [],   // Admin only
        ];

        $this->createPermissions($permissions);
    }
arwaawan3 commented 3 years ago

No policies & permissions for this package.