All the other places need to be converted to UserReference and then use an equality check.
Vincent Massol on 06/Nov/25 13:50
[~mleduc] we do have a single source of truth, it's https://github.com/xwiki/xwiki-platform/blob/fb8e06afa1a7e46e33ce311eb4b09be81b0567f6/xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-api/src/main/java/org/xwiki/user/SuperAdminUserReference.java#L30
All the other places need to be converted to {{ UserReference}} and then use an equality check.
Vincent Massol on 06/Nov/25 13:51
[~mleduc] we do have a single source of truth, it's https://github.com/xwiki/xwiki-platform/blob/fb8e06afa1a7e46e33ce311eb4b09be81b0567f6/xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-api/src/main/java/org/xwiki/user/SuperAdminUserReference.java#L30
All the other places need to be deprecated, converted to {{UserReference}} and then use an equality check.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.