diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2017-05-13 14:26:01 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-07-02 11:56:43 +0100 |
commit | 1cfe35922f0da06d249a367e2d476265ac41a499 (patch) | |
tree | 85d7574e3de0866fe5578ed073e48a823d38df60 /lang | |
parent | db21cb141751bee3602c68cd7d608f6234459e6f (diff) | |
download | gitano-1cfe35922f0da06d249a367e2d476265ac41a499.tar.gz |
Add pre-authorisation commandline hook
This hook is permitted to adjust the command line before it is
passed on to command authorisation. This is needed for a number
of use-cases requested around permitting a plugin to provide domain
specific command line shapes without needing to adjust Gitano's
core command structures.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/en.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/en.lua b/lang/en.lua index ff69968..96af43b 100644 --- a/lang/en.lua +++ b/lang/en.lua @@ -162,7 +162,8 @@ example administration repository rules and an admin user and group. BYPASS_USER_BANNER_HEADER = "**** ALERT **** ALERT **** PAY CAREFUL ATTENTION **** ALERT **** ALERT ****", BYPASS_USER_ALERT_MESSAGE = "**** You are acting as the bypass user. Rules and hooks WILL NOT APPLY ****", BYPASS_USER_BANNER_FOOTER = "**** ALERT **** ALERT **** DO NOT DO THIS NORMALLY **** ALERT **** ALERT ****", - + PREAUTH_CMDLINE_HOOK_DECLINED = "Pre-authorization command line hook declined to permit action: ${reason}", + PREAUTH_CMDLINE_HOOK_ABORTED = "Pre-authorization command line hook aborted: ${reason}", -- Messages from the config module NO_SITE_CONF = "No site.conf", NO_CORE_RULES = "No core rules file", |