Moderator unauthorized for user Invites?


#1

Hey Guys,

my case: i want to set more moderators, but i don’t wan’t that them inviting new users. Is this possible to configure?

Best regards from germany
Timo


(Sam Saffron) #2

OK, I see what is going on here.

Site is “invite only”, but you want to promote some community members to confer them moderator like rights without them being staff.

Is there a reason you don’t simply hand out trust level 4? It confers a very large amount of rights without opening all the floodgates and as you have max invites per day set to 0 they will not be allowed to invite.


#3

Hey Sam,

yes, there is a reason. We need moderators for declaring an answer as solution. This is not possible by only using trust level 4 :-/ .

Best regards


(Thorben Egberts) #4

I think I found the code in the discourse-solved-plugin:

def can_accept_answer?(topic)
      allow_accepted_answers_on_category?(topic.category_id) && (
        is_staff? || (
          authenticated? && !topic.closed? && topic.user_id == current_user.id
        )
      )
end

I don’t know what speaks against it, but maybe there could be an option for this like in the discourse-tagging plugin:

I mean something like “min trust to mark answer as solution”


(Sam Saffron) #5

No probs, I can add an option into discourse solved unless @thorbenegberts wants to beat me to it :slight_smile:


(Thorben Egberts) #6

Won’t beat you at that :slight_smile: But I’m looking forward to contribute in the future. Thanks!


(Sam Saffron) #7

Implemented per:

Will be deployed shortly