'Super user can do anything on any forum.'

def test_admin_perm_thread(self):

    from kitsune.forums.tests import RestrictedForumFactory
    f1 = RestrictedForumFactory()
    f2 = RestrictedForumFactory()
    admin = UserFactory(is_staff=True, is_superuser=True)
    perms = ('thread_edit_forum', 'thread_delete_forum', 'post_edit_forum', 'thread_sticky_forum', 'thread_locked_forum', 'post_delete_forum', 'view_in_forum')
    for perm in perms:
        for forum in [f1, f2]:
            assert access.has_perm(admin, ('forums_forum.' + perm), forum)
