From 443ba65dcc14aae3278c4f5f152f942f87bc4f08 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Tue, 27 Jul 2004 23:33:41 +0000 Subject: Bug 251837: Extend group_group_map to control which groups can see each other r=kiko a=justdave --- template/en/default/admin/groups/edit.html.tmpl | 112 +++++++++++++++++------- 1 file changed, 82 insertions(+), 30 deletions(-) (limited to 'template/en/default/admin/groups') diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl index 619db777c..bdda7e27b 100644 --- a/template/en/default/admin/groups/edit.html.tmpl +++ b/template/en/default/admin/groups/edit.html.tmpl @@ -24,23 +24,34 @@ [%# INTERFACE: # group_id: number. The group ID. - # name: string. The name of the group. + # name: string. The name of the group. [grantor] # description: string. The description of the group. # rexp: string. The regular expression for the users of the group. # isactive: boolean int. Shows if the group is still active. # isbuggroup: boolean int. Is 1 if this is a bug group. # groups: array with group objects having the properties: # - grpid: number. The ID of the group. - # - grpname: string. The name of the group. + # - grpname: string. The name of the group. [member] # - grpdesc: string. The description of the group. - # - grpmember: boolean int. Is 1 if the current user is a group member. - # - blessmember: boolean int. Is 1 if the current user can bless members - # in the current group. + # - grpmember: boolean int. Is 1 if members of the group are to inherit + # membership in the group being edited. + # - blessmember: boolean int. Is 1 if members of the group are to be able + # to bless users into the group being edited. + # - membercansee: boolean int. Is 1 if the members of the group are to + # be aware of the group being edited and its members. #%] [% PROCESS global/header.html.tmpl - title = "Change Group" + title = "Change Group: $name" + style = "tr.odd_row { + background: #e9e9e9; + } + .permissions th { + background: #000000; + color: #ffffff; + } + " %]
@@ -96,45 +107,86 @@
  • by being a member of one of the groups included in this group by checking the boxes below. -

    - - - - - - - - - - - - + [% usevisibility = Param('usevisibilitygroups') %] + +

    Group Permissions

    +
    Members of these groups can grant membership to this group
    |Members of these groups are included in this group
    ||
    + + [% IF usevisibility %] + + [% END %] + + + + + [% row = 0 %] [% FOREACH group = groups %] - - + [% IF usevisibility %] + + [% END %] + - - - + + [% END %]
    + Visible + + Grant + + Inherit + + Group + + Description +
    + [% row = row + 1 %] +
    + + + + [% group.grpnam FILTER html %][% group.grpdesc FILTER html %] + + [% group.grpnam FILTER html %] + + [% group.grpdesc FILTER html %]
    - - -

    - + +
    +
    + [% IF usevisibility %] +
    Visibility:
    +
    + Members of the selected groups can be aware of the + "[% name FILTER html %]" group +
    + [% END %] +
    Grant:
    +
    + Members of the selected groups can grant membership to the + "[% name FILTER html %]" group +
    +
    Inherit:
    +
    + Members of the selected groups are automatically members of the + "[% name FILTER html %]" group +
    +
    +
    -

    Conversion of groups created with [% terms.Bugzilla %] - versions 2.16 and prior:

    +

    Conversion of groups created with [% terms.Bugzilla %] + versions 2.16 and prior:

    • Remove all explicit memberships from this group: -- cgit v1.2.3-24-g4f1b