mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
5f6ea9f662
Summary: Ref T2231. This: - Activates the new multi-step workflow, and exposes it in the UI. - Adds "can create", "default view" and "default edit" capabilities. - Provides a default value for `repository.default-local-path` and forces repositories into it by default. It's still editable, but Phabricator gets it correct (for some definition of correct) by default now. Test Plan: Created some new repositories with the new workflow. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T1286, T2231 Differential Revision: https://secure.phabricator.com/D7413
16 lines
298 B
PHP
16 lines
298 B
PHP
<?php
|
|
|
|
final class DiffusionCapabilityDefaultEdit
|
|
extends PhabricatorPolicyCapability {
|
|
|
|
const CAPABILITY = 'diffusion.default.edit';
|
|
|
|
public function getCapabilityKey() {
|
|
return self::CAPABILITY;
|
|
}
|
|
|
|
public function getCapabilityName() {
|
|
return pht('Default Edit Policy');
|
|
}
|
|
|
|
}
|