Page MenuHomec4science

DiffusionCreateRepositoriesCapability.php
No OneTemporary

File Metadata

Created
Fri, Nov 29, 20:42

DiffusionCreateRepositoriesCapability.php

<?php
final class DiffusionCreateRepositoriesCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'diffusion.create';
public function getCapabilityKey() {
return self::CAPABILITY;
}
public function getCapabilityName() {
return pht('Can Create Repositories');
}
public function describeCapabilityRejection() {
return pht('You do not have permission to create new repositories.');
}
}

Event Timeline