Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 307 Bytes
# frozen_string_literal: true
module Thredded
module UserPermissions
module Admin
module IfAdminColumnTrue
# @return [boolean] Whether this user has full admin rights on Thredded.
def thredded_admin?
send(Thredded.admin_column)
end
end
end
end
end