Sha256: 7528c98c93c15991a002b32bbafcbefb9d540054289721e19087ad8780d8d489
Contents?: true
Size: 291 Bytes
Versions: 6
Compression:
Stored size: 291 Bytes
Contents
module Sufia class ResqueAdmin def self.matches?(request) current_user = request.env['warden'].user return false if current_user.blank? # TODO: code a group here that makes sense # current_user.groups.include? 'umg/up.dlt.scholarsphere-admin' end end end
Version data entries
6 entries across 6 versions & 1 rubygems