lablup / lablup/backend.ai

Enforce field permissions in the query, search, and update specs

Open
#14,086 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Team-distributed sweep, after the enforcement foundation lands: apply the carried field set in every entity's specs - blank unpermitted fields on reads, drop them from update input, refuse filtering and sorting by them, and reject explicitly requested unpermitted GraphQL fields at the layer the enforcement BEP fixed. Compose field coverage on top of the BA-7593 primitives (bits covering all fields vs bits per named field - never OR across different fields; the entity-level gate never changes). Merge actions that differ only by fields into one operation, based on the sweep issue's list. Split per entity family for parallel assignment.

JIRA Issue: BA-7562

Contributor guide

Open the contributing guide

Research direction

Start with the BA-7593 enforcement primitives and the sweep issue's entity-family list, then inspect each entity's query, search, update, and GraphQL specs. Done means unpermitted fields are blanked, excluded from updates, rejected in filtering and sorting, and explicitly requested GraphQL fields are rejected without changing the entity-level gate.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, python
Domain
api, authorization, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.