open-orchestra/open-orchestra-cms-bundle

View on GitHub
Backoffice/Security/ContributionActionInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\Backoffice\Security;

/**
 * Interface ContributionAction
 *
 * This interface is never implemented
 * It defines actions available on the platform
 */
interface ContributionActionInterface
{
    const READ          = 'ACTION_READ';
    const CREATE        = 'ACTION_CREATE';
    const EDIT          = 'ACTION_EDIT';
    const DELETE        = 'ACTION_DELETE';

    const TRASH_PURGE   = 'ACTION_PURGE';
    const TRASH_RESTORE = 'ACTION_RESTORE';
}