Add basic server activity log view
This commit is contained in:
parent
0b4936ff1c
commit
2f1c8ae91d
8 changed files with 153 additions and 2 deletions
|
@ -63,6 +63,8 @@ class Permission extends Model
|
|||
public const ACTION_SETTINGS_RENAME = 'settings.rename';
|
||||
public const ACTION_SETTINGS_REINSTALL = 'settings.reinstall';
|
||||
|
||||
public const ACTION_ACTIVITY_READ = 'activity.read';
|
||||
|
||||
/**
|
||||
* Should timestamps be used on this model.
|
||||
*
|
||||
|
@ -210,6 +212,13 @@ class Permission extends Model
|
|||
'reinstall' => 'Allows a user to trigger a reinstall of this server.',
|
||||
],
|
||||
],
|
||||
|
||||
'activity' => [
|
||||
'description' => 'Permissions that control a user\'s access to the server activity logs.',
|
||||
'keys' => [
|
||||
'read' => 'Allows a user to view the activity logs for the server.',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue