Skip to content

Apply team API profile changes and tags in one revision - #207

Open
glwhappen wants to merge 1 commit into
ProxyShard:mainfrom
glwhappen:fix/team-api-atomic-profile-patch
Open

glwhappen wants to merge 1 commit into
ProxyShard:mainfrom
glwhappen:fix/team-api-atomic-profile-patch

Conversation

@glwhappen

Copy link
Copy Markdown

A Team Local API PATCH could save settings and move the profile, then try to assign its tags in a separate write. A member with Edit on the source and Create on the destination could make the move but lose permission for the separate tag write. This returned a refusal after the profile had already moved.

The Team PATCH carries the resolved tag IDs in the same revision-guarded profile update as the settings and folder. The real-server test verifies that missing source Edit or an unknown tag leaves the profile untouched. With source Edit and destination Create, the combined edit lands in one revision.

Standalone Linux real-server regression passed.

This branch has not been deployed

No deployments
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.

1 participant