From df9b08d60099c0cad4375451a4e75337d37490e0 Mon Sep 17 00:00:00 2001 From: Tyler Bello Date: Tue, 20 Oct 2009 19:50:35 +0000 Subject: content_permissions now only shows groups that you own or that are public --- content_permissions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content_permissions.php') diff --git a/content_permissions.php b/content_permissions.php index ac26d99..590f154 100644 --- a/content_permissions.php +++ b/content_permissions.php @@ -1,6 +1,6 @@ mContentId ) } } -// Get a list of groups -$listHash = array( 'sort_mode' => 'group_id_asc' ); +// Get a list of groups owned by the user (and thus able to be administered by this user) OR public groups +$listHash = array( 'sort_mode' => 'group_id_asc', 'visible' => 1); $contentPerms['groups'] = $gBitUser->getAllGroups( $listHash ); if( !empty( $gContent->mType['handler_package'] )) { -- cgit v1.3