Page MenuHomec4science

PhragmentCanCreateCapability.php
No OneTemporary

File Metadata

Created
Sat, Nov 30, 02:17

PhragmentCanCreateCapability.php

<?php
final class PhragmentCanCreateCapability 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