| @@ 70-80 (lines=11) @@ | ||
| 67 | ]); |
|
| 68 | } |
|
| 69 | ||
| 70 | public function testClient() |
|
| 71 | { |
|
| 72 | $this->assertAccesses('role:client', [ |
|
| 73 | 'restore-password', 'deposit', |
|
| 74 | 'ticket.read', 'ticket.create', 'ticket.answer', 'ticket.close', |
|
| 75 | 'domain.read', 'domain.update', 'domain.pay', 'domain.push', |
|
| 76 | 'server.read', 'server.pay', |
|
| 77 | 'account.read', 'account.create', 'account.update', 'account.delete', |
|
| 78 | 'bill.read', |
|
| 79 | ]); |
|
| 80 | } |
|
| 81 | ||
| 82 | public function testSupport() |
|
| 83 | { |
|
| @@ 82-92 (lines=11) @@ | ||
| 79 | ]); |
|
| 80 | } |
|
| 81 | ||
| 82 | public function testSupport() |
|
| 83 | { |
|
| 84 | $this->assertAccesses('role:support', [ |
|
| 85 | 'access-subclients', 'support', |
|
| 86 | 'ticket.read', 'ticket.create', 'ticket.answer', 'ticket.close', 'ticket.update', 'ticket.delete', |
|
| 87 | 'client.read', |
|
| 88 | 'domain.read', 'domain.update', |
|
| 89 | 'server.read', |
|
| 90 | 'account.read', 'account.create', 'account.update', 'account.delete', |
|
| 91 | ]); |
|
| 92 | } |
|
| 93 | ||
| 94 | public function testAdmin() |
|
| 95 | { |
|