Commit 0d44d677 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add permission check section in ProjAccessCheck for creating/deleting groups.

parent 2aaf0313
......@@ -752,6 +752,10 @@ sub TBProjAccessCheck($$$$)
elsif ($access_type == TB_PROJECT_DELUSER) {
$mintrust = PROJMEMBERTRUST_PROJROOT;
}
elsif ($access_type == TB_PROJECT_MAKEGROUP ||
$access_type == TB_PROJECT_DELGROUP) {
$mintrust = PROJMEMBERTRUST_GROUPROOT;
}
else {
die("*** Unexpected access type: $access_type!");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment