Skip to content

Commit

Permalink
Fix permissions naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
drewroberts authored Mar 12, 2021
1 parent 263e5c4 commit 5054f49
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class AddInvoicePermissions extends BasePermissionsMigration
public function up()
{
$permissions = [
'view invoice'=> ['Owner', 'Staff'],
'create invoice' => ['Owner'],
'update invoice' => ['Owner']
'view invoices'=> ['Owner', 'Staff'],
'create invoices' => ['Owner'],
'update invoices' => ['Owner']
];

$this->createPermissions($permissions);
Expand Down

0 comments on commit 5054f49

Please sign in to comment.