mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-05 11:28:25 +01:00
17 lines
403 B
PHP
17 lines
403 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorManagementWorkflow extends PhutilArgumentWorkflow {
|
||
|
|
||
|
public function isExecutable() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function getViewer() {
|
||
|
// Some day, we might provide a more general viewer mechanism to scripts.
|
||
|
// For now, workflows can call this method for convenience and future
|
||
|
// flexibility.
|
||
|
return PhabricatorUser::getOmnipotentUser();
|
||
|
}
|
||
|
|
||
|
}
|