Skip to content

Commit

Permalink
remove admin privileges from others except Casey
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywatts committed Oct 8, 2014
1 parent b81a048 commit e98eb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def initialize(user)
# Define abilities for the passed in user here. For example:
#
# user ||= User.find_by(netid: session[:cas_user])
superusers = %w{csw3 jl2463 sbt3 dz65 cb585 deg38 mrd25 cb785}
superusers = %w{csw3}

if superusers.include? user.netid
can :manage, :all
Expand Down

0 comments on commit e98eb08

Please sign in to comment.