Skip to content

Commit

Permalink
Remove instructor ability to create terms
Browse files Browse the repository at this point in the history
  • Loading branch information
awhicks authored Oct 25, 2024
1 parent 9e455d7 commit 45aca0b
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 @@ -98,7 +98,7 @@ def process_instructor(user)
end

can [:create, :read], InstBook
can [:create, :read], Term
can [:read], Term
can [:create, :read], LatePolicy
can [:update, :destroy], InstBook, user_id: user.id
can [:create, :read], Organization
Expand Down

0 comments on commit 45aca0b

Please sign in to comment.