[WIP] Blacklist command #14
レビューアなし
ラベル
マイルストーンなし
担当者なし
2 人の参加者
通知
期日
期日は未設定です。
依存関係
依存関係が設定されていません。
リファレンス: adphi/occweb#14
読み込み中…
新しいイシューから参照
説明はありません。
ブランチ "CptainObvious/occweb:master" の削除
ブランチの削除は恒久的です。 実際に削除されるまでの短い期間、ブランチが存在したままになることもありますが、たいていは元に戻すことはできません。 続行しますか?
Implement a blacklist with command that we want to prevent being run from occweb like
maintenance mode:on
Return a 403 forbidden with a json response
The blacklisted command is not correct (see occ docs):
maintenance:mode --on
.I would change the error message to something more meaningful as "command not supported in occweb" with maybe a link to the docs.
In some cases, I think it can be useful in the future to be able to bypass the blacklist with
--force
and-f
or a custom flag if not available.ステップ 1:
あなたのプロジェクトリポジトリで新しいブランチをチェックアウトし、変更内容をテストします。ステップ 2:
変更内容をマージして、Giteaに反映します。