readOnly(), ]; } /** * Get the resource filters. * * @return array */ public function filters(): array { Log::debug(__METHOD__);; return [ // Filter::make('id'), ]; } public function repository(): AccountRepository { Log::debug(__METHOD__);; // to access the repository, you need to have the necessary rights. $this->setUserGroup($this->server->getUsergroup()); return AccountRepository::make() ->withServer($this->server) ->withSchema($this) ->withUserGroup($this->userGroup); } }