mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +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_REPETITIONS = 'change_reps';
|
||||||
public const CHANGE_RULES = 'change_rules';
|
public const CHANGE_RULES = 'change_rules';
|
||||||
public const CHANGE_TRANSACTIONS = 'change_tx';
|
public const CHANGE_TRANSACTIONS = 'change_tx';
|
||||||
|
public const MANAGE_WEBHOOKS = 'manage_webhooks';
|
||||||
|
public const MANAGE_CURRENCIES = 'manage_currencies';
|
||||||
public const FULL = 'full';
|
public const FULL = 'full';
|
||||||
public const OWNER = 'owner';
|
public const OWNER = 'owner';
|
||||||
public const READ_ONLY = 'ro';
|
public const READ_ONLY = 'ro';
|
||||||
|
@@ -47,6 +47,8 @@ class UserRoleSeeder extends Seeder
|
|||||||
UserRole::CHANGE_PIGGY_BANKS,
|
UserRole::CHANGE_PIGGY_BANKS,
|
||||||
UserRole::CHANGE_REPETITIONS,
|
UserRole::CHANGE_REPETITIONS,
|
||||||
UserRole::VIEW_REPORTS,
|
UserRole::VIEW_REPORTS,
|
||||||
|
UserRole::MANAGE_WEBHOOKS,
|
||||||
|
UserRole::MANAGE_CURRENCIES,
|
||||||
UserRole::FULL,
|
UserRole::FULL,
|
||||||
UserRole::OWNER,
|
UserRole::OWNER,
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user