mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
17 lines
358 B
PHP
17 lines
358 B
PHP
|
<?php
|
||
|
|
||
|
final class ProjectCanLockProjectsCapability
|
||
|
extends PhabricatorPolicyCapability {
|
||
|
|
||
|
const CAPABILITY = 'project.can.lock';
|
||
|
|
||
|
public function getCapabilityName() {
|
||
|
return pht('Can Lock Project Membership');
|
||
|
}
|
||
|
|
||
|
public function describeCapabilityRejection() {
|
||
|
return pht('You do not have permission to lock project membership.');
|
||
|
}
|
||
|
|
||
|
}
|