CanDelete.php #1

  • //
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • application/
  • content/
  • acls/
  • asserts/
  • CanDelete.php
  • View
  • Commits
  • Open Download .zip Download (519 B)
<?php
/**
 * Check if the active user can delete the given content resource.
 * Extends CanEdit assert and sets privilege to 'delete' - behavior
 * is otherwise identical.
 *
 * @copyright   2011 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 */
class Content_Acl_Assert_CanDelete extends Content_Acl_Assert_CanEdit
{
    protected   $_privilege    = 'delete';
    protected   $_privilegeAll = 'delete-any';
}
# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/application/content/acls/asserts/CanDelete.php
#1 8972 Matt Attaway Initial add of the Chronicle source code