fix missing path for Permission model in SubuserRepository

This commit is contained in:
Jakob Schrettenbrunner 2017-03-31 12:50:58 +02:00
parent a51cf1ff47
commit ec0b55bcfe

View file

@ -99,7 +99,7 @@ class SubuserRepository
'daemonSecret' => (string) $uuid->generate('servers', 'uuid'),
]);
$perms = Permission::list(true);
$perms = Models\Permission::list(true);
$daemonPermissions = $this->coreDaemonPermissions;
foreach ($data['permissions'] as $permission) {