From be3e98f67716c33d359505be499d49bf1f18fe42 Mon Sep 17 00:00:00 2001 From: Burak Sekili Date: Wed, 24 Nov 2021 18:55:29 +0300 Subject: [PATCH] remove dead code (#1503) Signed-off-by: Burak Sekili --- things/service.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/things/service.go b/things/service.go index 3e2b0df0..f10399de 100644 --- a/things/service.go +++ b/things/service.go @@ -53,7 +53,6 @@ const ( readRelationKey = "read" writeRelationKey = "write" deleteRelationKey = "delete" - adminSubject = "members:authorities#member" ) // Service specifies an API that must be fullfiled by the domain service @@ -327,7 +326,6 @@ func (ts *thingsService) ListThings(ctx context.Context, token string, pm PageMe return Page{}, err } return page, err - // subject = adminSubject } // If the user is not admin, check 'shared' parameter from pagemetada.