Allow admins and teachers to remove explicit RfC text
This commit is contained in:
@ -25,6 +25,10 @@ class RequestForCommentPolicy < ApplicationPolicy
|
||||
admin? || author?
|
||||
end
|
||||
|
||||
def clear_question?
|
||||
admin? || teacher_in_study_group?
|
||||
end
|
||||
|
||||
def edit?
|
||||
admin?
|
||||
end
|
||||
|
Reference in New Issue
Block a user