comparison s4-funcs.sh @ 271:a8bb72580c91

Member can change own email address for the joining moderated group
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 28 Jul 2016 23:08:56 +0859
parents 707ff3870ad1
children 6a548c4ab437
comparison
equal deleted inserted replaced
270:707ff3870ad1 271:a8bb72580c91
2461 elif [ x"$2" != x"$user" ]; then # if user is not login user 2461 elif [ x"$2" != x"$user" ]; then # if user is not login user
2462 echo "本人か、グループ管理者しか加入操作はできません。" | html p 2462 echo "本人か、グループ管理者しか加入操作はできません。" | html p
2463 return 2463 return
2464 elif [ x"$3" = x"no" ]; then 2464 elif [ x"$3" = x"no" ]; then
2465 : # Do not pursue those who leave 2465 : # Do not pursue those who leave
2466 elif [ x"$3" = x"yes" ] && ismember "$user" "$grp"; then
2467 : # Member can change own email address for the joining moderated group
2466 else # adding user is $user itself 2468 else # adding user is $user itself
2467 case `getgroupattr $1 regmode` in 2469 case `getgroupattr $1 regmode` in
2468 moderated) 2470 moderated)
2469 joingrprequest "$@" # Request only 2471 joingrprequest "$@" # Request only
2470 return 2472 return

yatex.org