fix(BA-4922): change Project→User relation_type from auto to ref in example-roles#9749
Open
fix(BA-4922): change Project→User relation_type from auto to ref in example-roles#9749
Conversation
…xample-roles Per BEP-1048 Entity Edge Catalog, Project→User is a ref relation (visibility only, no permission delegation). All 6 entries in association_scopes_entities with scope_type=project, entity_type=user were incorrectly set to "auto". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes incorrect relation_type values for Project→User associations in the example-roles.json fixture files. Per BEP-1048 Entity Edge Catalog, Project→User is a ref relation (visibility only, no permission delegation), but 6 entries were incorrectly set to "auto" instead of "ref".
Changes:
- Updated 6
relation_typevalues from"auto"to"ref"for project-scoped user entity entries in both fixture file locations. - Added a changelog entry describing the fix.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/ai/backend/install/fixtures/example-roles.json | Changed relation_type from "auto" to "ref" for 6 Project→User entries |
| fixtures/manager/example-roles.json | Mirror of the same changes in the alternate fixture location |
| changes/9749.fix.md | Changelog entry for the fix |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
relation_typefor Project→User associations inexample-roles.jsonfixture from"auto"to"ref"per BEP-1048 Entity Edge Catalog"auto"src/ai/backend/install/fixtures/example-roles.jsonandfixtures/manager/example-roles.jsonTest plan
python3 -m json.tool)scope_type=project, entity_type=userentries changed; domain-scoped entries remain"auto"Resolves BA-4922