Moved to new permission concept.

This commit is contained in:
Martin Edenhofer 2016-08-17 13:48:11 +02:00
parent 989d1bdda4
commit 077da33d79

View file

@ -3,7 +3,7 @@
require 'icalendar' require 'icalendar'
class CalendarSubscriptionsController < ApplicationController class CalendarSubscriptionsController < ApplicationController
before_action { authentication_check( { basic_auth_promt: true, token_action: 'CalendarSubscriptions' } ) } before_action { authentication_check( { basic_auth_promt: true, permission: 'user_preferences.calendar' } ) }
# @path [GET] /calendar_subscriptions # @path [GET] /calendar_subscriptions
# #