Check if the users can even create an account at all, or edit without creating an account, before we try to nudge them into doing so.
Hide the join button if not.
Check if the users can even create an account at all, or edit without creating an account, before we try to nudge them into doing so.
Hide the join button if not.
Tangentially related, the buttons just straight up don't work if the user is logged out. Should the buttons be hidden under this circumstance as well?
I will submit a patch to hide the join button for non-logged in users, and defer this particular thing for another time.
Change 503548 had a related patch set uploaded (by Isarra; owner: Jack Phoenix):
[mediawiki/extensions/CollaborationKit@master] Use newfangled permissionmanager stuff and more consistently check for appropriate permissions on collaborationhubs
Change 506887 had a related patch set uploaded (by Isarra; owner: Isarra):
[mediawiki/extensions/CollaborationKit@master] Do permissions checks for hub edit buttons and such after main parse
Change 503548 merged by jenkins-bot:
[mediawiki/extensions/CollaborationKit@master] Use newfangled permissionmanager stuff and more consistently check for appropriate permissions on collaborationhubs
Change 506887 merged by jenkins-bot:
[mediawiki/extensions/CollaborationKit@master] Do permissions checks for hub edit buttons and such after main parse to avoid caching problems