diff --git a/src/Seeds/PermissionsTableSeeder.php b/src/Seeds/PermissionsTableSeeder.php index 3eb7462..602ff27 100644 --- a/src/Seeds/PermissionsTableSeeder.php +++ b/src/Seeds/PermissionsTableSeeder.php @@ -27,6 +27,7 @@ public function run() 'description' => 'Foundation permissions group', ], 'permissions' => array_merge( + $this->getSettingsSeeds(), $this->getLogViewerSeeds() ), ], @@ -37,6 +38,22 @@ public function run() | Other Functions | ------------------------------------------------------------------------------------------------ */ + /** + * Get the Settings permissions. + * + * @return array + */ + private function getSettingsSeeds() + { + return [ + [ + 'name' => 'Settings - View the general settings', + 'description' => 'Allow to view the general settings.', + 'slug' => 'foundation.settings.general', + ] + ]; + } + /** * Get the LogViewer permissions. *