influxdb/mock
Greg f98874566c
fix: allow authorized label service to be called indirectly (#17111)
* fix: allow authorized label service to be called indirectly

17071 exists because pkger loads all service resources as authorized on
start, resulting in them all being authorized when referenced indirectly
(not hit directly via api by consumer). Rather than restructure pkger to
only authorize direct services, this allows proper indirect auth to
labels (the cause of 17071).

* Add orgService to tests

* Add resource types to find orgID from
2020-03-11 10:58:39 -06:00
..
auth_service.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
authorization.go fix(query): use auth-wrapped org and bucket services for query 2019-07-19 20:02:53 -06:00
bucket_service.go fix(pkger): fix flaky test in pkger service tests 2019-12-09 08:59:44 -08:00
check_service.go feat(pkger): add apply functionality for checks 2019-12-18 15:02:03 -08:00
dashboard_service.go fix(pkger): fix flaky test in pkger service tests 2019-12-09 08:59:44 -08:00
dbrp_mapping.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
delete.go feat(http): add predicate endpoint 2019-10-18 12:02:53 -04:00
dependencies.go fix(query): add LookupName method to dependency interfaces (needed by flux to()) (#14498) 2019-08-01 10:10:43 -07:00
document_service.go fix(http): refactor document service and fix auth 2020-03-09 20:32:31 +01:00
generators.go fix(influxdb): fixes broken tests from system bucket changes 2019-10-21 14:48:47 -07:00
kv.go feat(storage): implement backup and restore (#16504) 2020-01-21 14:22:45 -08:00
label_service.go fix(pkger): fix flaky test in pkger service tests 2019-12-09 08:59:44 -08:00
lookup_service.go feat(http): construct authorization handler by AuthorizationBackend 2019-02-06 19:18:23 +01:00
nats.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
nats_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
notification_endpoint_service.go feat(pkger): add apply functionality for notification endpoints kind 2019-12-11 15:13:42 -08:00
notification_rule_store.go feat(pkger): add application functionality for the notification rules resource 2019-12-20 12:48:46 -08:00
onboarding_service.go feat(kv): implemented key/value store with end-to-end integration tests 2019-02-19 17:47:19 -06:00
operation_log_service.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
org_service.go fix: allow authorized label service to be called indirectly (#17111) 2020-03-11 10:58:39 -06:00
paging.go add tests for paging 2018-12-09 22:49:10 +08:00
passwords.go chore: refactor password service to provide userID instead of name 2019-11-20 09:16:31 -08:00
points_writer.go respond to pr comments 2019-08-05 13:16:51 -05:00
reads_resultset.go feat(mock): Add SeriesGenerator to ResultSet transformation 2020-02-12 14:20:31 -07:00
reads_resultset_test.go feat(mock): Add SeriesGenerator to ResultSet transformation 2020-02-12 14:20:31 -07:00
retention_service.go chore: Remove several instances of WithLogger (#15996) 2019-12-04 15:10:23 -08:00
safe_count.go fix(pkger): fix flaky test in pkger service tests 2019-12-09 08:59:44 -08:00
scraper_service.go feat(influxdb): add scraper filter 2019-04-25 11:33:34 -04:00
secret_service.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
session_service.go feat(http): add renew session 2019-01-16 11:07:35 -05:00
source_service.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
task_service.go refactor(task/backend): move the task/backend constants to the global package (#17133) 2020-03-06 16:19:32 -06:00
telegraf_service.go fix(pkger): fix flaky test in pkger service tests 2019-12-09 08:59:44 -08:00
user_resource_mapping_service.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
user_service.go feat(http): construct macro handler by MacroBackend 2019-02-06 19:18:23 +01:00
variable_service.go fix(pkger): fix flaky test in pkger service tests 2019-12-09 08:59:44 -08:00
write_service.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00