Page MenuHomec4science

PhragmentCapabilityCanCreate.php
No OneTemporary

File Metadata

Created
Tue, Jan 7, 07:05

PhragmentCapabilityCanCreate.php

<?php
final class PhragmentCapabilityCanCreate
extends PhabricatorPolicyCapability {
const CAPABILITY = 'phragment.create';
public function getCapabilityKey() {
return self::CAPABILITY;
}
public function getCapabilityName() {
return pht('Can Create Fragments');
}
public function describeCapabilityRejection() {
return pht('You do not have permission to create fragments.');
}
}

Event Timeline