# fluent-boards/2.0.10/app/Http/Policies/UserPolicy.php

FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration, version 2.0.10. 28 lines.

- Page: https://pluginprobe.com/plugins/fluent-boards/2.0.10/code/app/Http/Policies/UserPolicy.php
- Raw: https://pluginprobe.com/plugins/fluent-boards/2.0.10/raw/app/Http/Policies/UserPolicy.php
- Modified: 2026-07-30T14:27:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-boards/2.0.10/code/app/Http/Policies/UserPolicy.php#L10-L20`.

```php
<?php

namespace FluentBoards\App\Http\Policies;

use FluentBoards\App\Services\PermissionManager;
use FluentBoards\Framework\Http\Request\Request;

class UserPolicy extends BasePolicy
{

    /**
     * @param  Request  $request
     *
     * @return bool
     */
    public function verifyRequest(Request $request)
    {
        // Check if user has access to the app
        return PermissionManager::hasAppAccess();
    }

    public function globalSearch(Request $request)
    {
        return true;
    }

}

```
