public function actions()
    {
        return [
            'promote' => [
                'class' => 'bizley\podium\actions\AdminAction',
                'fromRole' => User::ROLE_MEMBER,
                'toRole' => User::ROLE_MODERATOR,
                'method' => 'promoteTo',
                'restrictMessage' => Yii::t('podium/flash', 'You can only promote Members to Moderators.'),
                'successMessage' => Yii::t('podium/flash', 'User has been promoted.'),
                'errorMessage' => Yii::t('podium/flash', 'Sorry! There was an error while promoting the user.')
            ],
            'demote' => [
                'class' => 'bizley\podium\actions\AdminAction',
                'fromRole' => User::ROLE_MODERATOR,
                'toRole' => User::ROLE_MEMBER,
                'method' => 'demoteTo',
                'restrictMessage' => Yii::t('podium/flash', 'You can only demote Moderators to Members.'),
                'successMessage' => Yii::t('podium/flash', 'User has been demoted.'),
                'errorMessage' => Yii::t('podium/flash', 'Sorry! There was an error while demoting the user.')
            ],
        ];
    }