You are here

function notifications_feed_access in Notifications 6

Menu access callback

File

notifications_feed/notifications_feed.module, line 21
Subscriptions to FeedAPI feeds

Code

function notifications_feed_access($account) {
  global $user;
  return $account->uid && $account->uid == $user->uid && user_access('subscribe to feeds') || user_access('administer notifications') && user_access('subscribe to feeds', $account);
}