Flagsmith / Flagsmith/flagsmith

Ability to whitelist traits for client SDKs

Open
#1,524 3 comments 0 reactions 0 assignees View on GitHub
api feature front-end
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 14h
Merged PRs (30d)
124

Description

Users should be able to configure a whitelist of trait_keys that can be set using client side API keys. This should be taken into account when allow_client_side_traits is `true`.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where client-side API keys, allow_client_side_traits, and trait_keys are handled in the Python backend. Look for existing tests covering client-side traits and API-key permissions. Done means a configured whitelist limits which traits client SDKs can set when allow_client_side_traits is true, with tests covering allowed and rejected trait keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.