TIPOFF / docs

Website for documentation of packages in Tipoff ecosystem
MIT License
0 stars 0 forks source link

Permissions Migrations #7

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);
    }
drewroberts commented 3 years ago

This repository is not a package and this issue does not apply.