Skip to content

Conversation

@whoAbhishekSah
Copy link
Member

@whoAbhishekSah whoAbhishekSah commented Jan 29, 2026

Summary

Add scope_type and scope_id fields to Frontier preference messages to support org-scoped user preferences.

Behavior

  • Empty scope fields = global preference (backward compatible)
  • scope_type=app/organization + scope_id=<org_id> = org-scoped preference

Related

🤖 Generated with Claude Code

Add scope_type and scope_id fields to support org-scoped user preferences:

- Preference message: add scope_type (field 6) and scope_id (field 7)
- PreferenceRequestBody message: add scope_type (field 4) and scope_id (field 5)
- ListCurrentUserPreferencesRequest message: add scope_type (field 1) and scope_id (field 2)

These fields enable users to have different preference values per organization context
while maintaining backward compatibility with global preferences (empty scope = global).

Related: raystack/frontier#1347

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants