Skip to content

Conversation

@jrainville
Copy link
Member

What does the PR do

Fixes #19620

status-go PR: status-im/status-go#7254

We enabled users to create "anyone can be admin" or "anyone can join" permissions , which was wrong. The former would be chaotic and makes no sense to support. The latter is just the default of any community without permissions, so it was just cluttering the description.

The solution was to disable the "Community" part of the "is allowed to" popup when "anyone" is active.

I also improved the error and loading handling of the permission creation flow. We can make it async now if we want and we show a better error to the user if something goes wrong. Before, if there was an error, you lost the screen and had to start everything again.

Affected areas

  • EditPermissionView
  • chat_section module
  • community service

Architecture compliance

Screencapture of the functionality

In the video, I show that I disabled selecting "become admin" and "become member" if "Anyone" is activated. It's technically still possible to send the "anyone is allowed to become admin/member" permission, but there is an error now. We could just disable sending it, but that's more work that I'm not sure if it's worth?

anyone-is-allowed-perm.webm

Impact on end user

Disables this unexpected behaviour

How to test

  • Try to create permissions

Risk

Low

@status-im-auto
Copy link
Member

status-im-auto commented Dec 22, 2025

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
70d2cb4 #1 2025-12-22 20:47:01 ~9 min macos/aarch64-nwaku 📄log
✔️ 70d2cb4 #1 2025-12-22 20:47:05 ~10 min android/arm64 🤖apk 📲
✔️ 70d2cb4 #1 2025-12-22 20:48:41 ~11 min tests/nim 📄log
✖️ 70d2cb4 #1 2025-12-22 20:51:07 ~14 min ios/aarch64 📱ipa
✔️ 70d2cb4 #1 2025-12-22 20:53:03 ~16 min tests/ui 📄log
✔️ 70d2cb4 #1 2025-12-22 20:55:00 ~17 min macos/aarch64 🍎dmg
✔️ 70d2cb4 #1 2025-12-22 20:57:00 ~20 min linux/x86_64 📦tgz
✔️ 70d2cb4 #1 2025-12-22 20:57:07 ~20 min linux/x86_64-nwaku 📦tgz
✔️ 70d2cb4 #1 2025-12-22 21:09:38 ~32 min windows/x86_64 💿exe
✔️ 70d2cb4 pr19628 2025-12-22 21:12:46 ~15 min tests/e2e 📊rpt
✖️ 70d2cb4 PR19628 2025-12-22 21:30:10 ~20 min tests/e2e-windows 📊rpt
e9fdaa1 #2 2025-12-23 14:48:32 ~2 min tests/ui 📄log
e9fdaa1 #2 2025-12-23 14:48:39 ~2 min ios/aarch64 📄log
e9fdaa1 #2 2025-12-23 14:48:39 ~2 min macos/aarch64-nwaku 📄log
e9fdaa1 #2 2025-12-23 14:48:44 ~2 min linux/x86_64 📄log
e9fdaa1 #2 2025-12-23 14:48:45 ~2 min macos/aarch64 📄log
✖️ e9fdaa1 #2 2025-12-23 14:48:49 ~2 min tests/nim 📄log
e9fdaa1 #2 2025-12-23 14:49:28 ~3 min android/arm64 📄log
e9fdaa1 #2 2025-12-23 14:49:28 ~3 min linux/x86_64-nwaku 📄log
e9fdaa1 #2 2025-12-23 14:49:34 ~3 min windows/x86_64 📄log

@jrainville
Copy link
Member Author

@anastasiyaig pinging you in case there is something broken in nightlies

Fixes #19620

We enabled users to create "anyone can be admin" or "anyone can join" permissions , which was wrong. The former would be chaotic and makes no sense to support. The latter is just the default of any community without permissions, so it was just cluttering the description.

The solution was to disable the "Community" part of the "is allowed to" popup when "anyone" is active.

I also improved the error and loading handling of the permission creation flow. We can make it async now if we want and we show a better error to the user if something goes wrong. Before, if there was an error, you lost the screen and had to start everything again.
@jrainville jrainville force-pushed the fix/anyone-can-join-comm branch from 70d2cb4 to e9fdaa1 Compare December 23, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to join community with anyone can become member permission

2 participants