RGJ
(Richard - Communiteq)
9월 29, 2026, 9:42오후
1
요약:
초대에서 “토픽으로 이동” 옵션을 사용하면 이상한 권한 문제가 발생합니다.
재현 방법:
specialgroup 그룹을 생성합니다.
testcategory 카테고리를 설정합니다.
trust_level_0과 specialgroup을 모두 보기/답글/생성* 권한으로 추가합니다.
해당 카테고리에 토픽을 생성합니다.
초대를 생성하고 "토픽으로 이동"을 4단계에서 생성한 토픽으로 설정합니다.
한숨을 쉰다.
당분간 카테고리 권한에서 specialgroup을 제거하여 카테고리에 trust_level_0만 보기/답글/생성 권한이 있도록 합니다.
초대를 다시 생성하고 "토픽으로 이동"을 4단계에서 생성한 토픽으로 설정해 봅니다.
상황이 실제로 더 나빠진 것을 확인합니다.
똑똑하게도 카테고리 권한을 trust_level_0 대신 logged_in_users로 설정해 봅니다.
이것이 차이를 만들지 않는다는 것을 깨닫습니다.
관련 사항일 수 있음
Invite link to private group, arrive at topic (private category) not working 의 변형입니다. 이번에는 초대 링크 생성 중에 문제가 발생합니다.
*) 두 그룹을 모두 가지는 것이 의미가 없어 보이지만, specialgroup만 허용하는 하위 카테고리가 있는 경우, Discourse가 trust_level_0이 항상 상위 집합임을 이해하지 못하기 때문에 해당 그룹을 부모 카테고리에也必须 추가해야 합니다.
1개의 좋아요
문제를 확인했습니다. 재현 단계를 알려주셔서 감사합니다… 이 수정으로 링크된 토픽의 문제도 해결될 것 같습니다.
main ← fix/invite-arrive-at-topic-auto-groups
opened 06:39PM - 30 Sep 26 UTC
Reported here: https://meta.discourse.org/t/arrive-at-topic-invite-permissions-i… ssue/413611
"Arrive at topic" invites to a topic in a restricted category are failing unless the invite also adds the person to one of that category's editable groups. If the category was only open to groups like `trust_level_0` or `logged_in_users`, creating the invite returned a 403, even for admins, although the invited user would be able to see the topic after signing up.
This change counts the automatic groups every invited user joins (`logged_in_users` and `trust_level_0` through `default_invitee_trust_level`) when deciding whether an invite can target the topic, so these invites now work without adding a group.
문제는 초대 코드를 사용(redeem)한 후 모든 사용자가 trust_level_0과 logged_in_users(그리고 default_invitee_trust_level)에 포함된다는 사실을 간과하고 있었다는 것입니다. 초대가 초대받은 사용자가 초대 과정에서 해당 그룹에 추가되도록 요구했지만, 이들은 자동 그룹이므로 추가할 수 없습니다.
1개의 좋아요