mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Add new roles.
This commit is contained in:
@@ -57,6 +57,8 @@ class UserRole extends Model
|
||||
public const CHANGE_REPETITIONS = 'change_reps';
|
||||
public const CHANGE_RULES = 'change_rules';
|
||||
public const CHANGE_TRANSACTIONS = 'change_tx';
|
||||
public const MANAGE_WEBHOOKS = 'manage_webhooks';
|
||||
public const MANAGE_CURRENCIES = 'manage_currencies';
|
||||
public const FULL = 'full';
|
||||
public const OWNER = 'owner';
|
||||
public const READ_ONLY = 'ro';
|
||||
|
@@ -47,6 +47,8 @@ class UserRoleSeeder extends Seeder
|
||||
UserRole::CHANGE_PIGGY_BANKS,
|
||||
UserRole::CHANGE_REPETITIONS,
|
||||
UserRole::VIEW_REPORTS,
|
||||
UserRole::MANAGE_WEBHOOKS,
|
||||
UserRole::MANAGE_CURRENCIES,
|
||||
UserRole::FULL,
|
||||
UserRole::OWNER,
|
||||
];
|
||||
|
Reference in New Issue
Block a user