grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Add an hg user/group and run as that user
2019-09-17, Gary Kramlich
d295eb8f32ff
Add procps so we can run top to help figure out resource requirements
2019-09-13, Gary Kramlich
c6594aabeab3
Allow symlinks for the host keys
2019-09-12, Gary Kramlich
f2dd4c2888e2
Add environment variables for the setup commands options
2019-09-12, Gary Kramlich
c27ecd0c7904
Update to casbin v2
2019-09-12, Gary Kramlich
b6e0150db76d
auto reload the access model and policy if the admin repo is accessed. This does both push and pulls right now.
2019-09-12, Gary Kramlich
e2f2ff46f491
Fix the pubkey check
2019-09-12, Gary Kramlich
383331e5a4fb
Rework the way we setup the access code a little bit so it's easier to refresh
2019-09-12, Gary Kramlich
d13c14d4fadb
Make sure we have an ssh public key before we add it to version control. This is a safety feature to make sure no one accidentally adds their private key to the repository.
2019-09-12, Gary Kramlich
6837cd82348c
Remove the access function as it's no longer needed
2019-09-11, Gary Kramlich
8f41bf671a91
Changed the policy_effect to the priority model and move the definition of the access function to the policyChanged the policy_effect to the priority model. Also tried to clean up the docs to explain the changel. Also tried to clean up the docs to explain the changes.
2019-09-11, Gary Kramlich
9d843fb39620
Pass the AdminRepo into the policy template so that will work automatically as well
2019-09-11, Gary Kramlich
5b6436ed0733
add the host-keys directory to .dockerignore which may exist for local dev/testing
2019-09-11, Gary Kramlich
c9dc1d88840a
Overhaul Dockerfile and ignore /repos when building the image
2019-09-11, Gary Kramlich
7ce614654612
access.yml is no longer used for out authentication, also not sure how this ended up here...
2019-09-11, Gary Kramlich
2664db87766e
Add instructions on how to build
2019-09-11, Gary Kramlich
33b5ec0c4636
Overhaul the setup command so that we don't need to manually modify the repo
2019-09-10, Gary Kramlich
da90fbb024f0
Add `go 1.11` to the bottom of go.mod and run `go mod tidy`
2019-09-10, Gary Kramlich
21e7408ca1a0
Update README.md for the auth changes
2019-09-10, Gary Kramlich
c486089a949b
Fix up the setup command and document all the things
2019-09-10, Gary Kramlich
b4dd55fef66b
clean up a ton of logging
2019-09-10, Gary Kramlich
ea4d0c4e0f66
basic access control is working!
2019-09-10, Gary Kramlich
803e8c53ff13
rework the ssh commands so there have a setup and teardown functions
2019-09-10, Gary Kramlich
f59237b3e3f2
move commands to ssh/commands
2019-09-09, Gary Kramlich
f3041eb60173
Update setup for new auth. Init and read auth work, but read also grants write at the moment
2019-09-09, Gary Kramlich
7b6de7b2cfd5
Move from our custom yaml access setup to casbin
2019-09-09, Gary Kramlich
f82b7c397849
rework the ssh keyloading to *NOT* be a method
2019-09-08, Gary Kramlich
7dd7f9cf8e7b
move KeysDir to a private variable in users.go
2019-09-08, Gary Kramlich
8098dd6d3587
merging in my previous attempts at getting auth working
2019-09-08, Gary Kramlich
68855a21fd28
Wire up permissions still need to handle readonly
2019-07-23, Gary Kramlich
76eb73c033fc
overhaul how commands are found/run
2019-07-23, Gary Kramlich
eb233ca9b428
Lots of work on access need to clean up commands before preceeding
2019-07-23, Gary Kramlich
713e642eb9bc
Add an admin repos command line argument
2019-07-22, Gary Kramlich
ed523f1c967e
Merge addToKey and loadKeys
2019-05-07, Gary Kramlich
14af6e82af57
closing merged branch
access-control
2019-05-07, Gary Kramlich
e92e1e8ee230
Merged in access-control (pull request #4)
2019-05-08, Gary Kramlich
d5886fd34dc1
access: Implement stubs
access-control
2019-05-04, Wagner Riffel
208e17128bb9
access: Simplify authroized_keys file loading
access-control
2019-05-04, Wagner Riffel
2a61df813042
Rebase
access-control
2019-05-04, Wagner Riffel
f1395402bad4
access: remove debug prints left behind
access-control
2019-05-04, Wagner Riffel
fcf5f0592c9c
access: Restruct Access internal data struct.
access-control
2019-05-04, Wagner Riffel
f3433d4af7d8
Add a Dockerfile and convey.yml
2019-05-03, Gary Kramlich
72c01f7b0eb2
Fix some issues I missed when merging
2019-05-03, Gary Kramlich
1aa42845f1ea
Merging in Wagner Riffel's access stuff
2019-05-03, Gary Kramlich
e9e148c05406
access: Refactor paths related functions
access-control
2019-04-29, Wagner Riffel
c8e556033bea
access:
access-control
2019-04-28, Wagner Riffel
bdb2c82e0679
access: implement
access-control
2019-04-27, Wagner Riffel
8c7e5a1b48ed
run go mod tidy
2019-05-03, Gary Kramlich
ecbe8d130f9b
Make the logs more readable
2019-05-03, Gary Kramlich
a98b0f17942a
Move the command running to a helper function
2019-05-03, Gary Kramlich
7d7cae4b3989
Fix up the few unit tests
2019-05-03, Gary Kramlich
f7953a3da60c
Well everything kind of works, but hg init is throwing failures eventhough it's creating repos
2019-05-03, Gary Kramlich
5335e07264c8
Overhaul the way the hgkeeper repo is created
2019-04-27, Gary Kramlich
ebd2fc7bc10c
closing merged branch
termdumb
2019-04-18, Gary Kramlich
50c6ec130656
Merged in termdumb (pull request #2)
2019-04-18, Gary Kramlich
192d0f174bf4
logrus: disable colors if term is "dumb"
termdumb
2019-04-18, Wagner Riffel
f5cf0e9c5831
closing merged branch
styling
2019-04-18, Gary Kramlich
110f88f716e7
rename setup.SetupCommand to setup.Command
2019-04-18, Gary Kramlich
3c290648b1c5
Move the serve command to it's own package
2019-04-18, Gary Kramlich
6eec5741c02e
remove some debug output
2019-04-18, Gary Kramlich
ceeb74cb0ce0