Skip to content

VSP-1837 [iOS] Verify accessRole on Stela responses does not break private file access in the live app - #587

Merged
luciancerbu-vsp merged 1 commit into
Developmentfrom
bugfix/VSP-1837-Verify-accessRole-on-Stela-responses-does-not-break-private-file-access-in-the-live-app
Aug 20, 2026
Merged

VSP-1837 [iOS] Verify accessRole on Stela responses does not break private file access in the live app#587
luciancerbu-vsp merged 1 commit into
Developmentfrom
bugfix/VSP-1837-Verify-accessRole-on-Stela-responses-does-not-break-private-file-access-in-the-live-app

Conversation

@luciancerbu-vsp

Copy link
Copy Markdown
Contributor

OS had the same weakness that broke web (PER-10758 / web-app #1139) — AccessRole.roleForValue mapped unknown role strings to viewer. It now also accepts Stela's plain-word roles (owner, manager, curator, editor, contributor, viewer), so permissions cannot silently downgrade when the backend switches formats. Unknown values still default to the viewer. Unit tests cover both vocabularies

@luciancerbu-vsp
luciancerbu-vsp merged commit 4d0b3a6 into Development Aug 20, 2026
@luciancerbu-vsp
luciancerbu-vsp deleted the bugfix/VSP-1837-Verify-accessRole-on-Stela-responses-does-not-break-private-file-access-in-the-live-app branch August 20, 2026 13:58
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