mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 11:52:40 +01:00
86fe020a97
Summary: No editing or view yet, just adds the schema and a policy default. Part of D7391. Test Plan: `bin/storage upgrade` Reviewers: hach-que, btrahan Reviewed By: hach-que CC: aran Maniphest Tasks: T2230 Differential Revision: https://secure.phabricator.com/D7415
20 lines
401 B
PHP
20 lines
401 B
PHP
<?php
|
|
|
|
final class DiffusionCapabilityPush
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
const CAPABILITY = 'diffusion.push';
|
|
|
|
public function getCapabilityKey() {
|
|
return self::CAPABILITY;
|
|
}
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Can Push');
|
|
}
|
|
|
|
public function describeCapabilityRejection() {
|
|
return pht('You do not have permission to push to this repository.');
|
|
}
|
|
|
|
}
|