function NotificationsContentTests::listPermissions in Notifications 7
Same name and namespace in other branches
- 6.4 tests/notifications_content.test \NotificationsContentTests::listPermissions()
- 6 tests/notifications_content.test \NotificationsContentTests::listPermissions()
- 6.2 tests/notifications_content.test \NotificationsContentTests::listPermissions()
- 6.3 tests/notifications_content.test \NotificationsContentTests::listPermissions()
2 calls to NotificationsContentTests::listPermissions()
- NotificationsContentTests::testNotificationsContent in tests/
notifications_content.test - Play with creating, retrieving, deleting a pair subscriptions
- NotificationsContentTests::testNotificationsUserPages in tests/
notifications_content.test - Check all user pages before and after enabling permissions
File
- tests/
notifications_content.test, line 293
Class
Code
function listPermissions() {
return array(
'access content',
'access user profiles',
// This one needed to subscribe to users
'maintain own subscriptions',
'manage own subscriptions',
'subscribe to content',
'subscribe to content type',
'subscribe to author',
);
}