비영어권 포럼 카테고리 권한의 '모든 사용자' 그룹

I accidentally switched the default locale of my forum to English for a longer time span, so the default groups were renamed and discovered some features related to category permissions and the “everyone” group.



The first difference I noticed was the banner at the bottom.
Then I noticed that while the German “jeder” links to /g/jeder (which doesn’t work, because there is no such group), the English “everyone” isn’t a link.
And third, I learned that when you add another group like “moderators” in English, all permissions are added by default and you are not allowed to remove them, while “everyone” is allowed to do it. In German, this additional help does not work; you can easily remove permissions even though “everyone” is allowed.

The staff action logs are also a little confusing, because it looks like I changed the group, but I did not; I have only clicked “save”, and then the log shows the “everyone” group in two languages:

8개의 좋아요

I’m 95% sure (meaning I haven’t tested :sweat_smile:) this will be fixed by

3개의 좋아요

This topic was automatically closed after 20 hours. New replies are no longer allowed.

Re-opening because, of course, I was wrong :man_facepalming:

Thanks @Moin for doing the testing. I’ll fix it.

2개의 좋아요

이제 pr-welcome 태그가 붙었으니, 제가 수정이 제대로 작동하지 않는다고 zogstrip에게 알렸을 때 보낸 내용을 공유하는 것이 좋을 것 같습니다.

“everyone” 링크처럼 “jeder” 링크가 억제되지 않는 문제의 원인은 "everyone"이 체크 로직에 하드코딩되어 있다는 점이라고 생각합니다:

마찬가지로, 아래에 표시되는 경고와 체크박스 비활성화에도 "everyone"이 하드코딩되어 있습니다:

가장 안전한 방법은 ID를 확인하는 것이라고 생각합니다. 포럼의 기본 언어에 기반한 everyone 그룹의 이름을 사용하면, 포럼 언어가 변경된 후 DBConsistency 작업이 실행될 때 이름이 일치하지 않는 문제가 발생할 수 있습니다.

1개의 좋아요

다행히 두 번째는 성공일까요? :sweat_smile:

3개의 좋아요

부분적으로 :neutral_face:

배너, 비활성화된 체크박스, 그리고 everyone 그룹의 링크는 수정되었습니다.

하지만 스태프 작업 로그는 여전히 권한이 변경된 것처럼 작동합니다.
로케일이 독일어인 경우, 그룹 이름은 "jeder"가 됩니다. 이때 아무것도 변경하지 않고 카테고리를 저장하면 스태프 작업 로그에 다음 내용이 표시됩니다.

로케일이 영어이고 그룹 이름이 "everyone"인 경우, 카테고리를 저장해도 권한 변경이 기록되지 않습니다.
image

이전 저장 시점의 이름이 달랐기 때문이 아닙니다. “저장” 버튼을 여러 번 눌러도, 매번 로그에 권한이 "everyone"에서 "jeder"로 변경되었다고 표시됩니다.

좋은 지적이에요. 그걸로 수정될 거예요

1개의 좋아요

이 주제는 14시간 후 자동으로 닫혔습니다. 더 이상 새 답글을 작성할 수 없습니다.