Skip to content

Commit

Permalink
включил доп изображения модераторам
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Jan 7, 2025
1 parent 1cd77d8 commit e777e02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class GroupPermissionService(sectionService: SectionService, deleteInfoDao: Dele
def additionalImageLimit(section: Section)(implicit currentUser: AnySession): Int = {
if (isImagePostingAllowed(section) &&
section.getId == Section.SECTION_GALLERY &&
currentUser.administrator) {
currentUser.moderator) {
3
} else {
0
Expand Down

0 comments on commit e777e02

Please sign in to comment.