gliderlabs / gliderlabs/cmd

Hooks

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Go
Stars
28
Forks
4
PR merge metrics
No merged PRs in 30d

Description

* Hooks are user definable implementations to internal extension interfaces
* What form does user define hooks?
* Webhooks
* Commands as hooks
* RPC/Duplex
* ...
* auth hook
* Only makes sense for shared commands
* Same as sshfront auth hook
* user and key fingerprint passed as args
* Exit 0 means pass, exit non-zero means no auth
* Use cases
* Implementing groups and ACLs for org commands
* Prevent commands being run in certain conditions
* Not just specific to a single command
* Mostly for authz. First builtin ACLs, then hook
* token hook
* ???

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.