muck-services 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.23
|
@@ -99,6 +99,7 @@ class Muck::FeedsController < ApplicationController
|
|
99
99
|
def has_permission_to_add_feed(user, parent)
|
100
100
|
return false if user.blank?
|
101
101
|
return true if user.admin?
|
102
|
+
return true if user.can_add_feeds?
|
102
103
|
return false if parent.blank?
|
103
104
|
user == parent || parent.can_add_feed?(user)
|
104
105
|
end
|
data/locales/en.yml
CHANGED
@@ -54,6 +54,7 @@ en:
|
|
54
54
|
all_resources: All Resources
|
55
55
|
only_courses: Only Courses
|
56
56
|
add_feed: Add
|
57
|
+
feed_display_address: 'Feed Url'
|
57
58
|
add_feed_url: "Url:"
|
58
59
|
discover_feed_message: "Searching for information about the url you provided. Please wait."
|
59
60
|
select_feeds_prompt: "Select the feeds you would like to add:"
|
data/muck-services.gemspec
CHANGED