@arcilli discovered few weeks ago an important bug related to the Like right recently introduced and available in LTS and stable: https://jira.xwiki.org/browse/XWIKI-18510. In two words this bug create inconsistencies between Right UI for Like and object editor UI: you can get the green marks on Like right or the red cross (allowing or forbidding the right) the right will be applied but you won’t be able to see it selected in object editor, and it’s the same the other way around.
The fix is quite easy, however if we don’t do any migration it will have the following impact:
- Like Rights set from the Right UI will be displayed in object editor too
- Like Right set from the object editor won’t be displayed anymore anywhere, even from the object editor UI
So we could decide that it’s acceptable (the change will be reverted at next save): in that case we need to document that situation 2 will occur in our migration notes. If we don’t consider it’s acceptable then it means we need to write a migration so that rights set from object editor are displayed in Right UI.
So I open this vote for 48 hours only since the RC release will happen next monday, so I’ll close this vote on thursday morning (Paris Time), here’s the proposal for the vote:
Add a migration for Like rights
I’m personally on -0 for it: I don’t really think there was many rights set from the object editor and I do think it would be enough to document this in migration notes. Moreover a new migration means more possibility for mistakes in the code.
[EDIT: this post was wrong in its first version since I wrongly interpreted the issue]