Girish Ramakrishnan
|
cab9bc3a61
|
Unify the config routes into /api/v1/config
No more separate config routes for different types of user
|
2018-06-28 17:40:57 -07:00 |
|
Girish Ramakrishnan
|
dfa318e898
|
Add ownerId for apps
This tracks who installed the app.
|
2018-06-28 14:13:12 -07:00 |
|
Girish Ramakrishnan
|
38977858aa
|
When issuing token intersect with the existing user roles
Also:
* Move token validation to accesscontrol.js
* Use clients.addTokenByUserId everywhere
|
2018-06-28 00:07:43 -07:00 |
|
Girish Ramakrishnan
|
6510240c0a
|
Fix accesscontrol.intersectScopes
|
2018-06-27 18:08:38 -07:00 |
|
Girish Ramakrishnan
|
d66dc11f01
|
Make canonicalScopeString return sorted array
|
2018-06-27 14:07:25 -07:00 |
|
Girish Ramakrishnan
|
02c0137dc1
|
Add a timestamp column to apps table
this field can be used in UI to see if more detailed app information
has to be fetched (since it calls the list apps REST API periodically)
|
2018-06-26 18:16:39 -07:00 |
|
Girish Ramakrishnan
|
b5c8e7a52a
|
Rename to getGroups
|
2018-06-18 14:10:29 -07:00 |
|
Girish Ramakrishnan
|
7f3114e67d
|
Rename to get/setMembership (to indicate IDs and not group objects
|
2018-06-18 13:57:17 -07:00 |
|
Girish Ramakrishnan
|
1dbcf2a46a
|
Rename to groups.update
|
2018-06-18 13:41:27 -07:00 |
|
Girish Ramakrishnan
|
898cbd01b3
|
tokens table always has canonical scope
|
2018-06-17 23:11:36 -07:00 |
|
Girish Ramakrishnan
|
b6b7d08af3
|
Rename to accesscontrol.canonicalScopeString
|
2018-06-17 22:43:42 -07:00 |
|
Girish Ramakrishnan
|
6a2dacb08a
|
Make intersectScopes take an array
|
2018-06-17 22:39:33 -07:00 |
|
Girish Ramakrishnan
|
1015b0ad9c
|
validateScope -> validateScopeString
|
2018-06-17 22:29:17 -07:00 |
|
Girish Ramakrishnan
|
6ca28d9a58
|
validate dns config parameters
|
2018-06-17 22:21:51 -07:00 |
|
Girish Ramakrishnan
|
ad6bc191f9
|
Make hasScopes take an array
|
2018-06-17 21:06:17 -07:00 |
|
Girish Ramakrishnan
|
682f7a710c
|
Add an appstore scope for subscription settings
|
2018-06-17 18:09:13 -07:00 |
|
Girish Ramakrishnan
|
156ffb40c9
|
Remove scope from users.get
|
2018-06-17 16:07:20 -07:00 |
|
Girish Ramakrishnan
|
ca9cd2cf0f
|
Add groups.getRoles
|
2018-06-16 00:29:56 -07:00 |
|
Girish Ramakrishnan
|
c210359046
|
Create the backup logs dir
|
2018-06-15 14:56:32 -07:00 |
|
Girish Ramakrishnan
|
02d5d2f808
|
Add API to add and update the group roles
|
2018-06-15 00:28:27 -07:00 |
|
Girish Ramakrishnan
|
a77d45f5de
|
Add rolesJson to groups table
This will contain the roles ('role definition') of a group of
users. We will internally map these to our API scopes.
|
2018-06-14 22:54:52 -07:00 |
|
Girish Ramakrishnan
|
5e09f3dcb2
|
Group names can contain - and end with .app
now that we have decoupled it from mailbox names, this restriction
can be removed
|
2018-06-14 22:22:09 -07:00 |
|
Girish Ramakrishnan
|
eb566d28e7
|
Remove groupdb._addDefaultGroups
Putting this in db code causes issues when we merge in the
accesscontrol/roles variables (groupdb needs to source those
variables)
|
2018-06-14 21:56:34 -07:00 |
|
Girish Ramakrishnan
|
8795da5d20
|
Allow subscopes
We can now have scopes as apps:read, apps:write etc
|
2018-06-14 20:56:04 -07:00 |
|
Girish Ramakrishnan
|
a9ec46c97e
|
Add test for accesscontrol.validateScope
|
2018-06-14 20:51:22 -07:00 |
|
Girish Ramakrishnan
|
dc86b0f319
|
validateRequestedScopes -> hasScopes
|
2018-06-14 20:31:48 -07:00 |
|
Girish Ramakrishnan
|
f7089c52ff
|
normalizeScope -> intersectScope
|
2018-06-14 20:23:56 -07:00 |
|
Girish Ramakrishnan
|
62793ca7b3
|
Add accesscontrol.canonicalScope tests
|
2018-06-14 20:17:59 -07:00 |
|
Girish Ramakrishnan
|
32e6b9024c
|
Add email query param to reset code path
This reduces any attack surface
|
2018-06-12 17:56:41 -07:00 |
|
Girish Ramakrishnan
|
4369b3046e
|
Make options non-optional
|
2018-06-11 15:14:59 -07:00 |
|
Girish Ramakrishnan
|
c099d5d3fa
|
Make password strength be 8 chars
Fixes #434
|
2018-06-11 12:55:24 -07:00 |
|
Girish Ramakrishnan
|
6534297a5d
|
Remove hat module
It's not been updated for 6 years!
|
2018-06-11 12:38:29 -07:00 |
|
Girish Ramakrishnan
|
90d7dc893c
|
Fix test
|
2018-06-11 10:01:54 -07:00 |
|
Girish Ramakrishnan
|
ca500e2165
|
mailer: do not send notifications to fallback email
|
2018-05-30 09:26:59 -07:00 |
|
Johannes Zellner
|
371f81b980
|
Add test for mail enabling without a subscription
|
2018-05-30 00:02:18 +02:00 |
|
Johannes Zellner
|
c68cca9a54
|
Fixup mail test, which requires a subscription
|
2018-05-29 23:59:53 +02:00 |
|
Johannes Zellner
|
9194be06c3
|
Fix app purchase test
|
2018-05-29 23:24:08 +02:00 |
|
Girish Ramakrishnan
|
273948c3c7
|
Fix tests
|
2018-05-22 13:22:48 -07:00 |
|
Girish Ramakrishnan
|
c3fbead658
|
Allow zoneName to be changed in domain update route
|
2018-05-15 15:39:30 -07:00 |
|
Johannes Zellner
|
d0e07d995a
|
Add name.com dns tests
|
2018-05-09 18:13:21 +02:00 |
|
Girish Ramakrishnan
|
4356df3676
|
bump timeout
|
2018-05-07 16:28:11 -07:00 |
|
Girish Ramakrishnan
|
1e730d2fc0
|
route53: more test fixing
|
2018-05-07 16:20:03 -07:00 |
|
Girish Ramakrishnan
|
e8875ccd2e
|
godaddy: add tests
|
2018-05-07 16:09:00 -07:00 |
|
Girish Ramakrishnan
|
2b3656404b
|
route53: fix tests
|
2018-05-07 15:53:08 -07:00 |
|
Girish Ramakrishnan
|
60b5e6f711
|
gandi: add tests
|
2018-05-07 15:51:51 -07:00 |
|
Girish Ramakrishnan
|
e8efc5a1b2
|
Fix test
|
2018-05-06 12:58:39 -07:00 |
|
Girish Ramakrishnan
|
0c07c6e4d0
|
Allow "-" in usernames
now that username and mailboxes are totally separate, we can allow '-'.
'+' is still reserved because LDAP it.
Fixes #509
|
2018-05-05 09:56:21 -07:00 |
|
Girish Ramakrishnan
|
b5f8ca6c16
|
Fix nasssty typo
|
2018-04-29 17:50:12 -07:00 |
|
Girish Ramakrishnan
|
d8acf92929
|
UserError -> UsersError
|
2018-04-29 11:22:15 -07:00 |
|
Girish Ramakrishnan
|
7bb8d059b5
|
GroupError -> GroupsError
|
2018-04-29 11:21:01 -07:00 |
|