Commit Graph

11 Commits (58437f71cc2fcf1e100f0297390c7aab53c78868)

Author SHA1 Message Date
Michael Desa 407c01cb17 fix(platform): use authorizer instead of authorizion for endpoints
feat(platform): add ToPermissions method to user resource mapping

The ToPermissions method returns a set of permissions that is granted
via a user resource mapping.

feat(bolt): resolve sessions permissions on lookup

feat(http): use authorizer instead of authorization service for write api

feat(bolt): create user resource mappings for org users in bucket create

feat(bolt): create user resource mapping for first org/user

fix(platform): use authorizer for query endpoint instead of authorization

test(http): use cmp instead of reflect for decode test
2018-11-20 10:56:58 -08:00
Jade McGough baeea1a6ac fix(http): add links to user resource response 2018-10-25 14:42:26 -07:00
Kelvin Wang a8ac4a931c add telegraf store service 2018-10-17 15:01:04 -04:00
Jade McGough 4a1c647e87 add and whitelist additional resource types 2018-10-11 11:15:02 -07:00
Leonardo Di Donato d95c750fed fix(platform_test): refactor platform tests to support uint64 platform.IDs
Co-Authored-By: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2018-10-11 09:54:18 -05:00
Jade McGough bb6d8cf156 fix(http): inject resource type into Post member factory 2018-10-09 13:19:19 -07:00
Jade McGough bd672f6933 fix(http): support multiple IDs in dashboard GET params 2018-10-08 18:54:40 -07:00
Jade McGough 770a9de282 validate resource type on u/r mapping 2018-10-08 18:53:08 -07:00
Jade McGough 24a3703cc9 add tests for resource types 2018-10-08 18:52:41 -07:00
Jade McGough 8e04f5e6e8
add org member endpoints ()
add org member endpoints
2018-09-24 10:17:54 -07:00
Jade McGough 1896364c7c owner mapping -> user resource mapping 2018-08-02 11:07:03 -07:00