@@ -219,7 +219,7 class Role < ActiveRecord::Base | |||||
219 | end |
|
219 | end | |
220 |
|
220 | |||
221 | # Returns true if tracker_id belongs to the list of |
|
221 | # Returns true if tracker_id belongs to the list of | |
222 |
# trackers for which permission is given |
|
222 | # trackers for which permission is given | |
223 | def permissions_tracker_ids?(permission, tracker_id) |
|
223 | def permissions_tracker_ids?(permission, tracker_id) | |
224 | permissions_tracker_ids(permission).include?(tracker_id) |
|
224 | permissions_tracker_ids(permission).include?(tracker_id) | |
225 | end |
|
225 | end |
General Comments 0
You need to be logged in to leave comments.
Login now