Group access - Public Closed

rated by 0 users
Answered (Verified) This post has 1 verified answer | 22 Replies | 5 Followers

andrevs
Top 75 Contributor
300 Posts
Points 4,390
By: andrevs
Posted: Wed, Jun 4 2008 5:53 AM

 Hi

I would like a Group Type where users will be able  to see the available groups but not be able to browse and view any info in the group. That's the way Public-Closed worked in CS2008 Beta.

When they select the group it should present them with the 'Request Membership' form...only after the membership is approved they should be able to access the group.

Currently the Pulic-Closed allows the user to browse the group, view members and even download media without being a member.

The Private Group Type are not visible to users (non-members) and I need them to see all available groups in order to request membership;

Any ideas?

 

 

 

Answered (Verified) Verified Answers

Ben Tiedt
Top 10 Contributor
3,338 Posts
Points 63,065
CS Developers
Answered (Verified) By: Ben Tiedt
Posted: Tue, Jul 22 2008 4:33 PM In reply to

In Cs2008.1, the "Private" group type has been separated in two: "Private (Listed)" and "Private (Unlisted)".

"Private (Unlisted)" works as in CS2008 and "Private (Listed)" will show the group in aggregate lists, but non-members cannot view any of the content of the group.

Ben Tiedt's Blog

 
Answered (Verified)
  • Post Points: 20 |

All Replies

andrevs
Top 75 Contributor
300 Posts
Points 4,390
By: andrevs
Posted: Wed, Jun 4 2008 12:09 PM In reply to

 bump

 
  • Post Points: 5 |
afscrome
Top 10 Contributor
2,727 Posts
Points 40,160
TelligentSupportTeam
By: afscrome
Posted: Thu, Jun 5 2008 11:06 AM In reply to

 I'd be interested in a solution to this if anyone knows of one.

 
  • Post Points: 20 |
bazqpr
Not Ranked
5 Posts
Points 70
By: bazqpr
Posted: Tue, Jun 10 2008 7:50 AM In reply to

 Same issue for me too

 
  • Post Points: 20 |
andrevs
Top 75 Contributor
300 Posts
Points 4,390
By: andrevs
Posted: Thu, Jul 3 2008 3:51 AM In reply to

bump?

 
  • Post Points: 5 |
The Brooks Group
Not Ranked
7 Posts
Points 125
By: The Brooks Group
Posted: Wed, Jul 9 2008 12:48 PM In reply to

Come on.. can we get this answered please?! I have the same question. I have media inside my private groups that I don't want anyone to have access to except those people that are members of that group. Right now anyone can download those files. That is unacceptable

Help please.

 
  • Post Points: 35 |
afscrome
Top 10 Contributor
2,727 Posts
Points 40,160
TelligentSupportTeam
By: afscrome
Posted: Wed, Jul 9 2008 4:12 PM In reply to

If that is the case, that's a seperate bug - and I'd suggest you make a seperate thread about it to maximise someone seeing it who can help you.

This post is asking to have a public group but with closed membership - that is a group where all users can see the group exists, but a limited subset who have been accepted / invited to the group can access it.

 
  • Post Points: 20 |
andrevs
Top 75 Contributor
300 Posts
Points 4,390
By: andrevs
Posted: Thu, Jul 10 2008 6:27 AM In reply to

afscrome:
If that is the case, that's a seperate bug

I think he's group type is set to Public.

Try making it Private (but then you might sit with my problem..the one the thread is actually bout)

 
  • Post Points: 5 |
afscrome
Top 10 Contributor
2,727 Posts
Points 40,160
TelligentSupportTeam
By: afscrome
Posted: Thu, Jul 10 2008 6:43 AM In reply to

The Books Group,

I've just seen the thread at http://dev.communityserver.com/forums/t/500486.aspx, which might be related to the problem you're describing, although from a quick glance that bug should only affect the view permission, not the download one as well.

 
  • Post Points: 5 |
jmbledsoe
Top 150 Contributor
149 Posts
Points 2,255
By: jmbledsoe
Posted: Mon, Jul 14 2008 3:17 PM In reply to

I have a couple of customizations to the hub theme pages that should give you this functionality.  These customizations will redirect all pages in the hub to the hub home page for non-members, and it will hide indexed content on the home page for non-members of the hub.

1) Add the following block of markup just inside the <asp:Content ContentPlaceHolderID="bcr" runat="server"> tag in the hub theme's theme.Master file:

<CSControl:ConditionalAction runat="server">
        <Conditions Operator="Not">   
            <CSControl:Conditions Operator="Or">
                <CSControl:UserInRoleCondition runat="server" Role="SystemAdministrator" UseAccessingUser="true" />
                <CSControl:CurrentSiteUrlCondition runat="server" SiteUrlName="hubs.hub_application" />   
                <CSControl:SectionMembershipPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="MembershipType" Operator="EqualTo" ComparisonValue="Owner" />
                <CSControl:SectionMembershipPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="MembershipType" Operator="EqualTo" ComparisonValue="Member" />
                <CSControl:SectionMembershipPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="MembershipType" Operator="EqualTo" ComparisonValue="Manager" />
            </CSControl:Conditions>
        </Conditions>
        <Actions>
            <CSControl:GoToSiteUrlAction runat="server" UrlName="hub_application" Parameter1='<%# CommunityServer.Controls.CSControlUtility.Instance().GetCurrentHub(this).ApplicationKey %>' />
        </Actions>
    </CSControl:ConditionalAction>

2) Add the following block of markup right right after the opening tag of the IndexPostList on the hub theme's home.aspx file.  (If you're using the Hawaii theme, this is right around line 60.)

            <DisplayConditions Operator="Or">
                <CSControl:UserInRoleCondition runat="server" Role="SystemAdministrator" UseAccessingUser="true" />
                <CSControl:SectionMembershipPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="MembershipType" Operator="EqualTo" ComparisonValue="Owner" />
                <CSControl:SectionMembershipPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="MembershipType" Operator="EqualTo" ComparisonValue="Member" />
                <CSControl:SectionMembershipPropertyValueComparison runat="server" UseAccessingUser="true" ComparisonProperty="MembershipType" Operator="EqualTo" ComparisonValue="Manager" />
            </DisplayConditions>

I need to verify that media gallery files cannot be downloaded by non-members with this setup, and if they still can, I'll work on a customization for that as well.

EDIT: I fixed a bug in the first markup block.  I had to change one of the conditions. Embarrassed  I also found that if a non-member of a group knows the URL of a file in the group&#39;s media gallery, he can still download the file :-(

I don&#39;t think there is an easy solution to this issue without modifying the file storage provider.  Depending on how sensitive your group content is, &quot;security through obscurity&quot; of URLs may be sufficient.

EDIT #2: Okay, now I think I finally have the boolean logic in the first markup block correct.

John Bledsoe

Sr. Software Specialist - ATGi

 
The Brooks Group
Not Ranked
7 Posts
Points 125
By: The Brooks Group
Posted: Mon, Jul 14 2008 3:41 PM In reply to

jmbledsoe:

I just plugged in the fix and it works just like I needed it to. Thanks for fixing this your help is much appreciated

 
  • Post Points: 5 |
The Brooks Group
Not Ranked
7 Posts
Points 125
By: The Brooks Group
Posted: Tue, Jul 15 2008 9:16 AM In reply to

Sorry I found some problems with the fix. Now the Group Administrator clicks on discussions and is redirected to the home page and can't post any new discussions and cannot click on current disscussion that he has already created. He is redirected back to the homepage each time. Also members of the group cannot click on the current discussions to read.

I can do it as an administrator but the "Group Administrator" cannot.

 
  • Post Points: 20 |
jmbledsoe
Top 150 Contributor
149 Posts
Points 2,255
By: jmbledsoe
Posted: Tue, Jul 15 2008 9:20 AM In reply to

Two things:

  1. I made an edit to the fix.  Have you changed what you are using to match it?
  2. Is the Group Administrator a member of the group?  If so then the updated fix should work.

John Bledsoe

Sr. Software Specialist - ATGi

 
  • Post Points: 20 |
The Brooks Group
Not Ranked
7 Posts
Points 125
By: The Brooks Group
Posted: Tue, Jul 15 2008 9:28 AM In reply to

Yes i've change what i'm using to match your fix.

I've tried to make him a member of the group but then he can't be the Group Admin - can he be a member and a group admin?

 
  • Post Points: 20 |
jmbledsoe
Top 150 Contributor
149 Posts
Points 2,255
By: jmbledsoe
Posted: Tue, Jul 15 2008 9:46 AM In reply to

It looks like I got the boolean logic all jumbled, but it should be working now.

John Bledsoe

Sr. Software Specialist - ATGi

 
  • Post Points: 20 |