-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ロールにNSFWを強制的につけるオプションを追加 #10731
ロールにNSFWを強制的につけるオプションを追加 #10731
Conversation
外そうとしたときにAPIエラーを出したいのでDraftで(メモ |
Codecov Report
@@ Coverage Diff @@
## develop #10731 +/- ##
===========================================
+ Coverage 77.37% 77.39% +0.02%
===========================================
Files 899 899
Lines 89419 89447 +28
Branches 6534 6545 +11
===========================================
+ Hits 69184 69224 +40
+ Misses 20235 20223 -12
|
packages/backend/test/e2e/note.ts
Outdated
iconUrl: null, | ||
displayOrder: 0, | ||
target: 'manual', | ||
condFormula: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
targetがmanualなら要らなそう
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ロールの確認としてテスト記載したけど不要であれば削除します
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
いやテストは要るけどcondFormulaの指定は不要じゃない?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空じゃダメかしら
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空で行けたので修正しました!
👍 |
* ロールにNSFWを強制的につけるオプションを追加 * すでにあるファイルにNSFWが付与できない * NSFWを付与しようとするとエラーに * add test * Update packages/backend/src/core/RoleService.ts Co-authored-by: syuilo <[email protected]> * spacingで怒られたので * ロール作成時のプロパティ削除 --------- Co-authored-by: syuilo <[email protected]>
* ロールにNSFWを強制的につけるオプションを追加 * すでにあるファイルにNSFWが付与できない * NSFWを付与しようとするとエラーに * add test * Update packages/backend/src/core/RoleService.ts Co-authored-by: syuilo <[email protected]> * spacingで怒られたので * ロール作成時のプロパティ削除 --------- Co-authored-by: syuilo <[email protected]>
What
ロールにてNSFWを強制的に付与するオプションの追加(Policy
Why
運営からの警告を無視してNSFWの投稿を行うユーザーが見られるため
ロールによって付与する
Additional info (optional)
ローカルにてテスト済み
・ファイルアップロード時にNSFWの付与
・NSFWが外せないように
Checklist