Moved to new permission concept.
This commit is contained in:
parent
989d1bdda4
commit
077da33d79
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue