Skip to content

Commit

Permalink
* [misc] adjust repo config file for repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyanyi committed Jun 21, 2024
1 parent d028c3b commit 51e0284
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions module/repo/config/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@

$config->repo->form->import = array();
$config->repo->form->import['serviceProject'] = array('required' => true, 'type' => 'string', 'filter' => 'trim');
$config->repo->form->import['product'] = array('required' => false, 'type' => 'array', 'filter' => 'join', 'base' => true);
$config->repo->form->import['projects'] = array('required' => false, 'type' => 'array', 'default' => array(), 'filter' => 'join');
$config->repo->form->import['name'] = array('required' => false, 'type' => 'string', 'filter' => 'trim');
$config->repo->form->import['projects'] = array('required' => false, 'type' => 'string', 'default' => '');
$config->repo->form->import['product'] = array('required' => false, 'type' => 'array', 'filter' => 'join', 'default' => array(), 'base' => true);
$config->repo->form->import['projects'] = array('required' => false, 'type' => 'array', 'filter' => 'join', 'default' => array());
$config->repo->form->import['name'] = array('required' => false, 'type' => 'string', 'filter' => 'trim');
$config->repo->form->import['encoding'] = array('required' => false, 'type' => 'string', 'default' => 'utf-8');
$config->repo->form->import['encrypt'] = array('required' => false, 'type' => 'string', 'default' => 'base64');
$config->repo->form->import['acl'] = array('required' => false, 'type' => 'string', 'default' => '{"acl":"open","groups":[""],"users":[""]}');

0 comments on commit 51e0284

Please sign in to comment.