Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
5890ffd7
Commit
5890ffd7
authored
Mar 08, 2019
by
Sympa authors
Committed by
IKEDA Soji
Mar 08, 2019
Browse files
tidyall
parent
b200c05f
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/bin/upgrade_sympa_password.pl.in
View file @
5890ffd7
...
...
@@ -111,7 +111,8 @@ $sth = $sdm->do_prepared_query(
q{SELECT COUNT(*) FROM user_table WHERE password_user LIKE 'crypt.%'}
);
my
(
$encrypted
)
=
$sth
->
fetchrow_array
;
if
(
$encrypted
and
not
$
Crypt::CipherSaber::
VERSION
)
{
die
"
Password seems encrypted while Crypt::CipherSaber is not installed!
\n
";
die
"
Password seems encrypted while Crypt::CipherSaber is not installed!
\n
";
}
$sth
=
$sdm
->
do_query
(
q{SELECT email_user, password_user from user_table}
);
...
...
src/cgi/wwsympa.fcgi.in
View file @
5890ffd7
...
...
@@ -2991,19 +2991,19 @@ sub check_param_out {
if (Conf::get_robot_conf($robot, 'shared_feature') eq 'on') {
$param->{'is_shared_allowed'} = 1;
# Shared documents access control.
my $shared_doc = Sympa::WWW::SharedDocument->new($list);
if ($shared_doc and $shared_doc->{status} eq 'exist') {
# Check if shared is publically accessible (useful information
# for RSS).
my %access = $shared_doc->get_privileges(
mode => 'read',
sender => undef,
auth_method => $param->{'auth_method'},
scenario_context => {sender => 'nobody'}
);
$param->{'shared_public_access'} = $access{'may'}{'read'};
}
# Shared documents access control.
my $shared_doc = Sympa::WWW::SharedDocument->new($list);
if ($shared_doc and $shared_doc->{status} eq 'exist') {
# Check if shared is publically accessible (useful information
# for RSS).
my %access = $shared_doc->get_privileges(
mode => 'read',
sender => undef,
auth_method => $param->{'auth_method'},
scenario_context => {sender => 'nobody'}
);
$param->{'shared_public_access'} = $access{'may'}{'read'};
}
}
# List included in other list may not be closed nor renamed.
...
...
@@ -17239,8 +17239,8 @@ sub _is_action_disabled {
return 1
if grep { $action eq $_ }
qw(d_admin d_change_access d_control d_create_child d_delete
d_describe d_editfile d_install_shared d_properties d_read
d_reject_shared d_rename d_set_owner d_unzip d_update);
d_describe d_editfile d_install_shared d_properties d_read
d_reject_shared d_rename d_set_owner d_unzip d_update);
}
return undef;
...
...
src/lib/Sympa/ConfDef.pm
View file @
5890ffd7
...
...
@@ -1682,13 +1682,13 @@ our @params = (
# Shared document repository
{
'
name
'
=>
'
shared_feature
',
'
gettext_id
'
=>
'
Enable shared repository
',
{
'
name
'
=>
'
shared_feature
',
'
gettext_id
'
=>
'
Enable shared repository
',
'
gettext_comment
'
=>
'
If set to "on", list owners can open shared repository.
',
'
vhost
'
=>
'
1
',
'
edit
'
=>
'
1
',
'
default
'
=>
'
off
',
'
vhost
'
=>
'
1
',
'
edit
'
=>
'
1
',
'
default
'
=>
'
off
',
},
{
'
name
'
=>
'
default_shared_quota
',
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment