[WIP] Blacklist command #14
Nav recenzentu
Etiķetes
Nav etiķešu
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Nav atskaites punktu
Nav atbildīgo
2 dalībnieki
Paziņojumi
Izpildes termiņš
Izpildes termiņš nav uzstādīts.
Atkarības
Nav atkarību.
Atsaucas uz: adphi/occweb#14
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
No description provided.
Dzēst atzaru "CptainObvious/occweb:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.Solis 1:
Projekta repozitorijā izveidojiet jaunu jaunu atzaru un pārbaudiet savas izmaiņas.Solis 2:
Sapludināt izmaiņas un atjaunot tās Gitea.