Skip to content

Commit 45aca0b

Browse files
authored
Remove instructor ability to create terms
1 parent 9e455d7 commit 45aca0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/ability.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def process_instructor(user)
9898
end
9999

100100
can [:create, :read], InstBook
101-
can [:create, :read], Term
101+
can [:read], Term
102102
can [:create, :read], LatePolicy
103103
can [:update, :destroy], InstBook, user_id: user.id
104104
can [:create, :read], Organization

0 commit comments

Comments
 (0)