<?php

use App\Enums\Permission;
use App\Enums\WorkspaceUserRole;

return [

    /*
    |--------------------------------------------------------------------------
    | Default Permissions Per Role
    |--------------------------------------------------------------------------
    |
    | Defines the default permission values for each workspace role.
    | Owner has all permissions ('*'), Worker has none ([]),
    | and Manager has individually configurable permissions.
    |
    */

    'defaults' => [
        WorkspaceUserRole::Owner => ['*'],

        WorkspaceUserRole::Manager => [
            Permission::CanManageTeam => false,
            Permission::CanViewActivityLogs => true,
            Permission::CanConfigurePortal => false,
        ],

        WorkspaceUserRole::Worker => [],
    ],

];
