private function getPermissions(): array
    {
        $model = App::shortName(get_class($this->table), 'Model/Table', 'Table');

        $values = $this->getPermissionsByModel($model);
        if (empty($values)) {
            return [];
        }

        $primaryKey = $this->table->getPrimaryKey();
        Assert::string($primaryKey);

        return [$this->table->aliasField($primaryKey) . ' IN' => array_unique($values)];
    }
private function getPermissions(): array
    {
        $model = App::shortName(get_class($this->table), 'Model/Table', 'Table');

        $values = $this->getPermissionsByModel($model);
        if (empty($values)) {
            return [];
        }

        $primaryKey = $this->table->getPrimaryKey();
        Assert::string($primaryKey);

        return [$this->table->aliasField($primaryKey) . ' IN' => array_unique($values)];
    }
private function getPermissions ( ) : array { $ model = App :: shortName ( get_class ( $ this -> table ) , 'Model/Table' , 'Table' ) ; $ values = $ this -> getPermissionsByModel ( $ model ) ; if ( empty ( $ values ) ) { return [ ] ; } $ primaryKey = $ this -> table -> getPrimaryKey ( ) ; Assert :: string ( $ primaryKey ) ; return [ $ this -> table -> aliasField ( $ primaryKey ) . ' IN' => array_unique ( $ values ) ] ; }
User permissions getter.

@return mixed[]
User permissions getter .