elements-by-group-type.tcl

/packages/subsite/www/admin/groups/elements-by-rel-type.tcl Datasource for elements-by-rel-type.adp (meant to be included by other templates) Shows the user a summary of components (NOT members!) of the given group, provided that the user has permission to see the component. The components are summarized by their relationship to the given group. NOTE: There is no scope check done here to ensure that the component "belongs" to the subsite. The pages that use this template already check that the given group_id is in scope; therefore, all of its components must be in scope. And even if a developer screws up and uses this template without checking that the give group_id belongs to the current subsite, the user would only be able to see components that they have permission to see. Thus we take the lazy (and efficient) approach of not checking the scope of the components returned by this datasource.

Location:
/packages/acs-subsite/www/admin/groups/elements-by-group-type.tcl
Author:
oumi@arsdigita.com
Created:
2001-2-6
CVS ID:
$Id: elements-by-group-type.tcl,v 1.6 2018/11/28 11:50:52 antoniop Exp $ Select out group types that have at least one group. Count up the number of groups to decide later if we display them all

Related Files

[ show source ]