Add ng words for post/update

This commit is contained in:
KMY 2023-07-24 10:38:36 +09:00
parent d4602118fb
commit c553275381
12 changed files with 110 additions and 2 deletions

View file

@ -36,6 +36,7 @@ class UserRole < ApplicationRecord
manage_roles: (1 << 17),
manage_user_access: (1 << 18),
delete_user_data: (1 << 19),
manage_ng_words: (1 << 30),
}.freeze
module Flags
@ -61,6 +62,7 @@ class UserRole < ApplicationRecord
manage_blocks
manage_taxonomies
manage_invites
manage_ng_words
).freeze,
administration: %w(