| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class UserPermission extends Model |
||
| 8 | { |
||
| 9 | protected $fillable=[ |
||
| 10 | 'user_id', 'permission_id' |
||
| 11 | ]; |
||
| 12 | |||
| 13 | public static $permInfo=[ |
||
| 14 | '1' => 'Show site admin badge and allow frontend access to admin portal', |
||
| 15 | // Why 26 you may ask? Praise be the all-mighty samsung AC that keeps my room at 26 celsius. |
||
| 16 | '26' => 'Allow access to image hosting services', |
||
| 17 | ]; |
||
| 18 | |||
| 19 | public function user() { |
||
| 23 |