Neal Harrington
8921ee002e
Clean up unncessary conditional. Add explicit auth/ tests for empty credentials/anonymous case
2 years ago
Philip O'Toole
c59adee7cb
Add Read-only join permission
2 years ago
Philip O'Toole
d289da5feb
Refactor auth checking
2 years ago
Philip O'Toole
288d97b241
Move Perm constants to auth package
...
Makes it cleaner to re-use them outside of HTTP package.
2 years ago
Philip O'Toole
860999951d
Enhance Authentication and Authorization system ( #940 )
3 years ago
Philip O'Toole
1ffc3d566e
Add varadic functions to auth store
5 years ago
Philip O'Toole
6fae0d4cee
Tweak hashed password implementation
7 years ago
sum12
03dcfc47e0
auth: passwords can be maked as hashed (bcrypt)
...
Passwords stored in auth file can be bcrypt hashes of the password
passed via the basic auth of the received request.
However unmakred passwords will be considered plain text thus
maintaining backward compatibility.
Added testcases.
Closes #395
7 years ago
Philip O'Toole
293268c5ed
Update credential_store.go
8 years ago
Philip O'Toole
c6660a587b
Update credential_store.go
8 years ago
Philip O Toole
bf2047b45b
'go lint' fixes
9 years ago
Philip O'Toole
4c36f8345c
Create standalone auth module
9 years ago