Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Tristan Weir 8c24601740 Update import statements to point to github.com/mozilla/mig/ 2018-07-11 10:11:22 -07:00
Aaron Meihm 034de6f3da style related code cleanup in mig top-level package
Fix a bunch of godoc issues, removes exchange and queue names which were
no longer being utilized, and the GenB32ID function which was also not
being used. Renames some constant values to remove mixture of all caps
and underscores in constants.
2017-10-26 15:55:48 -05:00
Aaron Meihm 0c49439eb0 [major] investigator API key authentication for API use
X-PGPAUTHORIZATION based authentication was previously used for
authorizing client access to the API. This patch adds the option of
using a standard API key as well.

Note that PGP is still required for querying agents. In some cases
though, we may want to integrate other external applications that just
require API access (e.g. to review previous investigations, manage
users, etc). Using PGP for this is problematic and the ability
to instead just use a regular API key for these scenarios remediates
this.

Investigators can now be assigned an key that enables API key based
access to the MIG API. Investigators can also be created without a PGP
key, so they can solely utilize API key based access.

Resolves #239
2017-04-11 14:55:58 -05:00
Aaron Meihm 2f7b66c3ff [minor] improve investigator permission descriptive output 2016-08-16 12:28:24 -05:00
Aaron Meihm bb5f690710 [major] expand permission model to be per-endpoint 2016-08-15 18:28:57 -05:00
Aaron Meihm 07d135a000 [medium] more granular permissions for investigators
This removes the previous implementation where an investigator could
either be set to an admin or not, and expands this to per-endpoint
permissions that can be set for individual investigators.
2016-08-15 15:25:01 -05:00
Aaron Meihm df27a0d3dd [medium] add new administrator privilege for investigators 2016-03-24 17:08:14 -05:00
Julien Vehent 200a5a6164 [doc] add newline after license header to ignore it in godoc 2015-08-27 10:41:13 -04:00
Julien Vehent 91928a9fcd [minor] add import comment to packages declarations 2015-08-26 14:15:40 -04:00
Julien Vehent e9aa7febf9 [major] reorganize repository structure for `go get mig.ninja/mig`
This is a major change to the structure of the repository and the Makefile,
but a minor change in terms of functionalities. It simply changes the structure
of the directories to be compliant with Go's idiomatic build methods.

I also bought the domain `mig.ninja` and will now be using that as
a standard import path for everything. The magic to serve everything
under mig.ninja/mig will be documented elsewhere.
2015-08-25 18:01:22 -04:00