Added Feedback section.
This commit is contained in:
@@ -11,6 +11,7 @@ enum Permission: string
|
||||
case ProjectContent = 'project-content';
|
||||
case ProjectLink = 'project-link';
|
||||
case ProjectTranslation = 'project-translation';
|
||||
case ProjectFeedback = 'project-feedback';
|
||||
|
||||
public function getPermissions(): array
|
||||
{
|
||||
@@ -27,6 +28,9 @@ enum Permission: string
|
||||
'view' => __('permissions.Allowed to watch'),
|
||||
'update' => __('permissions.Allowed to edit'),
|
||||
],
|
||||
self::ProjectFeedback => [
|
||||
'view' => __('permissions.Allowed to watch'),
|
||||
],
|
||||
default => $this->getBasePermissions()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user