diff options
Diffstat (limited to 'lib/permissions/anyone_can_view_recruiter_can_change.rb')
-rw-r--r-- | lib/permissions/anyone_can_view_recruiter_can_change.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/permissions/anyone_can_view_recruiter_can_change.rb b/lib/permissions/anyone_can_view_recruiter_can_change.rb index 1faa96f..89984a9 100644 --- a/lib/permissions/anyone_can_view_recruiter_can_change.rb +++ b/lib/permissions/anyone_can_view_recruiter_can_change.rb @@ -1,5 +1,7 @@ require 'permissions/set' module Permissions + # If you include this recruiters will be allowed to do everything, + # others users will will be able only to view. module AnyoneCanViewRecruiterCanChange multi_permission :create, :update, :destroy do User.user_is_recruiter?(acting_user) |