Skip to content

Commit

Permalink
Endpoint for pending invites
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorgmansuryan committed Jul 15, 2024
1 parent 5f07a65 commit dcdda5e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions controllers/user/InviteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
*/
class InviteController extends BaseController
{
protected function getAccessRules()
{
return [
['permissions' => [ManageUsers::class]],
];
}

public function actionIndex()
{
$emails = (array)Yii::$app->request->post('emails');
Expand Down

0 comments on commit dcdda5e

Please sign in to comment.