Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by

Based on the solution of q2apro at this post

$rules['closeable'] = (qa_get_logged_in_level()>=QA_USER_LEVEL_ADMIN) && (!$rules['closed']);

But I don't know why I can't limit permission to close question from EDITOR and higher by using this:

$rules['closeable'] = (qa_get_logged_in_level()>=QA_USER_LEVEL_EDITOR) && (!$rules['closed']);

Please log in or register to answer this question.