%#-- Begin HTML --# <& '/widgets/wrappers/sharky/header.mc', title => "$grp_name Permissions", context => "Admin | Profile | $disp | "$grp_name" | Permissions" &>
<& '/widgets/wrappers/sharky/footer.mc', param => \%ARGS &> %#-- End HTML --# %#-- Once Section --# <%once>; my $type = 'grp'; my $class = get_package_name($type); my $section = 'admin'; my $widget = 'perm'; %once> %#-- Args Section --# <%args> $id => undef %args> %#-- Init Section --# <%init>; # Instantiate an object. my $grp = $ARGS{obj} ? $ARGS{obj} : defined $id ? $class->lookup({ id => $id}) : $class->new; $id ||= $grp->get_id; # Check authorization. chk_authz($grp, READ); my $no_edit = !chk_authz($grp, ($id ? EDIT : CREATE), 1); my $class_obj = $grp->my_class; my $disp = $class_obj->get_disp_name; my $grp_name = $grp->get_name; %init> <%doc> ############################################################################### =head1 NAME /admin/profile/grp/perm - Group profile permissions interface =head1 VERSION $LastChangedRevision$ =head1 DATE $LastChangedDate$ =head1 DESCRIPTION Diplays the permissions for a single group. %doc>