Added Feedback section.

This commit is contained in:
2024-04-23 19:30:56 +05:00
parent 491249c8d8
commit 8c353a49b7
44 changed files with 1050 additions and 0 deletions
+4
View File
@@ -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()
};