* Fix bug#39084, #39082.

This commit is contained in:
zhujinyong
2023-10-07 00:15:54 +08:00
parent 4b7081f13a
commit 32c8896a36
2 changed files with 2 additions and 13 deletions
-3
View File
@@ -92,12 +92,9 @@ $lang->resource->my->work = 'workAction';
$lang->resource->my->audit = 'audit';
$lang->resource->my->contribute = 'contributeAction';
$lang->resource->my->project = 'project';
$lang->resource->my->profile = 'profileAction';
$lang->resource->my->uploadAvatar = 'uploadAvatar';
$lang->resource->my->preference = 'preference';
$lang->resource->my->dynamic = 'dynamicAction';
$lang->resource->my->editProfile = 'editProfile';
$lang->resource->my->changePassword = 'changePassword';
$lang->resource->my->manageContacts = 'manageContacts';
$lang->resource->my->deleteContacts = 'deleteContacts';
$lang->resource->my->score = 'score';
+2 -10
View File
@@ -548,16 +548,8 @@ $config->group->package->profile = new stdclass();
$config->group->package->profile->order = 5;
$config->group->package->profile->subset = 'personalsettings';
$config->group->package->profile->privs = array();
$config->group->package->profile->privs['my-profile'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd,lite,or', 'order' => 0, 'depend' => array('my-index'), 'recommend' => array());
$config->group->package->profile->privs['my-uploadAvatar'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd,lite,or', 'order' => 2, 'depend' => array('my-index', 'my-profile'), 'recommend' => array());
$config->group->package->profile->privs['my-editProfile'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd,lite,or', 'order' => 1, 'depend' => array('my-index', 'my-profile'), 'recommend' => array());
$config->group->package->profile->privs['my-changePassword'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd,lite,or', 'order' => 3, 'depend' => array('my-index', 'my-profile'), 'recommend' => array());
$config->group->package->preference = new stdclass();
$config->group->package->preference->order = 10;
$config->group->package->preference->subset = 'personalsettings';
$config->group->package->preference->privs = array();
$config->group->package->preference->privs['my-preference'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 40, 'depend' => array('my-index'), 'recommend' => array());
$config->group->package->profile->privs['my-uploadAvatar'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd,lite,or', 'order' => 2, 'depend' => array('my-index', 'my-profile'), 'recommend' => array());
$config->group->package->profile->privs['my-editProfile'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd,lite,or', 'order' => 1, 'depend' => array('my-index', 'my-profile'), 'recommend' => array());
$config->group->package->browseProgram = new stdclass();
$config->group->package->browseProgram->order = 5;