remove dead code (#1503)

Signed-off-by: Burak Sekili <buraksekili@gmail.com>
This commit is contained in:
Burak Sekili 2021-11-24 18:55:29 +03:00 committed by GitHub
parent 87510288c2
commit be3e98f677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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.