putty
(putty)
5 mei 2026 om 21:14
1
We’re hosting a survey in our community, and I’m running into this error if I try to edit someone else’s survey. I’m able to edit my own survey just fine.
For the full context:
I created the topic & survey
Transferred ownership of the topic to them
Trying to edit, but receive this error when I try to submit
Just for giggles, I just tried deleting all of the translations for the topic, but it didn’t help.
2 likes
sam
(Sam Saffron)
5 mei 2026 om 23:07
2
Thanks for letting us know! @techAPJ will have a look
1 like
techAPJ
(Arpit Jalan)
6 mei 2026 om 07:23
4
Thanks for reporting this bug @putty . Should be fixed via this commit:
committed 07:14AM - 06 May 26 UTC
* FIX: allow staff to edit surveys after post ownership transfer
The post valid… ator checked the post **owner** (`@post.user.staff?`)
instead of the user performing the edit. After ownership transfer to a
non-staff user, even staff editors were blocked, and they saw a raw
`Translation missing: en.survey.insufficient_rights_to_create` because
that key was missing from `server.en.yml`.
**Changes:**
- Validate `@post.acting_user` (falls back to `@post.user` on create).
- Add the missing `survey.insufficient_rights_to_create` translation.
- Add specs covering create permissions and edits across ownership
transfers.
* fix specs
2 likes