# give/4.16.9/src/Framework/Permissions/Contracts/UserPermissionsInterface.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 45 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/Permissions/Contracts/UserPermissionsInterface.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/Permissions/Contracts/UserPermissionsInterface.php
- Modified: 2026-01-28T15:00:28+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/give/4.16.9/code/src/Framework/Permissions/Contracts/UserPermissionsInterface.php#L10-L20`.

```php
<?php

namespace Give\Framework\Permissions\Contracts;

/**
 * @since 4.14.0
 */
interface UserPermissionsInterface
{
    /**
     * Get the capability type (e.g., 'give_form', 'give_payment').
     *
     * @since 4.14.0
     */
    public static function getType(): string;

    /**
     * Check if user can create.
     *
     * @since 4.14.0
     */
    public function canCreate(): bool;

    /**
     * Check if user can view/read.
     *
     * @since 4.14.0
     */
    public function canView(): bool;

    /**
     * Check if user can edit.
     *
     * @since 4.14.0
     */
    public function canEdit(): bool;

    /**
     * Check if user can delete.
     *
     * @since 4.14.0
     */
    public function canDelete(): bool;
}

```
