---
id: 3592
title: "The $30,000 Gem: Part 1"
source_domain: hackerone.com
source_url: "https://www.hackerone.com/blog/30000-gem-part-1"
published_at: "2017-06-08T14:00:00Z"
tags: ["access-control", "api-security", "graphql", "hackerone", "authorization", "secure-design"]
phying_url: "https://phying.com/item/3592"
lang: en
---

# The $30,000 Gem: Part 1

## Summary

HackerOne explains how it designed a permission layer between GraphQL and its database so queries only ever return data the requester is allowed to access; covers relationship-based access control and the Protected Attribute concept.

## Intelligence Metadata

- **Sources:** hackerone.com
- **Published:** 2017-06-08T14:00:00Z
- **Original:** https://www.hackerone.com/blog/30000-gem-part-1
- **Phying News:** https://phying.com/item/3592
