This means that we can safely remove the feature when the readOnly mode is on.
Charpentier Lucas on 24/Oct/24 17:34
According to https://github.com/xwiki/xwiki-platform/blob/c80c1ff8b8d668d7736343b2b49a2928ccd67792/xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-api/src/main/java/org/xwiki/security/internal/XWikiBridge.java#L41-L44 it seems like the readonly state is configured at the level of the server. Henceforth, if it's not active on the current page, it's not active anywhere else.
This means that we can safely remove the feature UI when the readOnly mode is on.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.