mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-27 19:09:01 +03:00
Finish subuser controller
This commit is contained in:
@@ -36,6 +36,16 @@ interface SubuserRepositoryInterface extends RepositoryInterface
|
||||
*/
|
||||
public function getWithServer($id);
|
||||
|
||||
/**
|
||||
* Return a subuser with the associated permissions relationship.
|
||||
*
|
||||
* @param int $id
|
||||
* @return \Illuminate\Database\Eloquent\Collection
|
||||
*
|
||||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function getWithPermissions($id);
|
||||
|
||||
/**
|
||||
* Find a subuser and return with server and permissions relationships.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user