<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Blog Posts From Jivespace Community Blog Tagged With permissions</title>
    <link>http://www.jivesoftware.com/jivespace/blogs/jivespace</link>
    <description>Jivespace Developer Community Blog</description>
    <pubDate>Thu, 08 Jan 2009 16:35:43 GMT</pubDate>
    <generator>Jive SBS 3.0.8 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-01-08T16:35:43Z</dc:date>
    <item>
      <title>How do the account spaces get created anyway? Is it private?</title>
      <link>http://www.jivesoftware.com/jivespace/blogs/jivespace/2009/01/08/how-do-the-account-spaces-get-created-anyway-is-it-private</link>
      <description>&lt;!-- [DocumentBodyStart:d0508c59-2894-4583-83da-8664451f5daf] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Okay, you're a new customer of Jive's and you'd like to receive some support, e.g. you need to ask, "How do I add a new status level icon?"&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So you go to jivesoftware.com, login, then click on the 'Support' tab.&amp;#160; Then you see a link to "Create a case in your secure space."&amp;#160; Whoa!&amp;#160; What is that?&amp;#160; How did I get a secure space?&amp;#160; When I click it, why does it now say "Create a new case in Company Name" ??&amp;#160; How cool is that?!&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="text-align: center;"&gt;&lt;a href="https://brewspace.jiveland.com/servlet/JiveServlet/downloadImage/102-16173-4-13090/SupportPage1.png"&gt;&lt;img alt="SupportPage1.png" class="jive-image-thumbnail jive-image" src="https://brewspace.jiveland.com/servlet/JiveServlet/downloadImage/102-16173-4-13090/SupportPage1.png" width="620"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;h3&gt;&lt;em&gt;&lt;span style="font-weight: normal;"&gt;Creation&lt;/span&gt;&lt;/em&gt;&lt;/h3&gt;&lt;p&gt;Well, our support solution (named the Supportal) knows about you through your email address and connects your email address to your company through our CRM system.&amp;#160; After making that link and ensuring you are indeed a customer, the Supportal will then create a new account space which is visible to you and those in your company. So, after verifying your information with our CRM system, we create your space and set it up with the following code:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:17170f1c-401f-4b6f-abc7-795449f24c98]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Log.info(&lt;font color="red"&gt;"Creating a community for "&lt;/font&gt; + accountName +&lt;font color="red"&gt;" under the support community with an ID of "&lt;/font&gt; + support.getID());
&amp;nbsp;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; community = communityManager.createCommunity(support, accountName, accountName, &lt;font color="red"&gt;"Support community for "&lt;/font&gt; + accountName);
&amp;nbsp;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="darkgreen"&gt;// set content types to threads and documents only (no blogs)&lt;/font&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; List&amp;lt;ContentRetrieval.ContentType&amp;gt; types = &lt;font color="navy"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/font&gt; ArrayList&amp;lt;ContentRetrieval.ContentType&amp;gt;(3);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; types.add(ContentRetrieval.ContentType.THREAD);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; types.add(ContentRetrieval.ContentType.DOCUMENT);
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; community.setContentTypes(types.toArray(&lt;font color="navy"&gt;&lt;b&gt;new&lt;/b&gt;&lt;/font&gt; ContentRetrieval.ContentType[types.size()]));
&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:17170f1c-401f-4b6f-abc7-795449f24c98]--&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;h3&gt;&lt;em&gt;&lt;span style="font-weight: normal;"&gt;Security&lt;/span&gt;&lt;/em&gt;&lt;/h3&gt;&lt;p&gt;It is secure and private because it uses Clearspace to setup permissions to grant access only to Jive and members of your company (who are also linked in the same way you are). How can you be sure? Well, you don't see a thousand other customer spaces, do you? &lt;img height="16px" src="http://www.jivesoftware.com/community/images/emoticons/wink.gif" width="16px"/&gt; We do that in the following manner:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:941d07a3-767f-4eb8-8d15-c14227d49ef8]--&gt;&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-java"&gt;&lt;font color="darkgreen"&gt;//add the new group to the new account community&lt;/font&gt;
((ExtendedPermissionsManager)permissionsManager).addAnonymousUserPermission(JiveConstants.COMMUNITY, community.getID(), PermissionType.NEGATIVE, Permissions.VIEW_COMMUNITY);
((ExtendedPermissionsManager)permissionsManager).addAnonymousUserPermission(JiveConstants.COMMUNITY, community.getID(), PermissionType.NEGATIVE, Permissions.READ_DOCUMENT);
permissionsManager.addGroupPermission(JiveConstants.COMMUNITY, community.getID(), group, PermissionType.ADDITIVE, Permissions.VIEW_COMMUNITY);
permissionsManager.addGroupPermission(JiveConstants.COMMUNITY, community.getID(), group, PermissionType.ADDITIVE, Permissions.CREATE_THREAD);
permissionsManager.addGroupPermission(JiveConstants.COMMUNITY, community.getID(), group, PermissionType.ADDITIVE, Permissions.READ_DOCUMENT);
&amp;nbsp;
&lt;font color="darkgreen"&gt;//add jive support group access&lt;/font&gt;
permissionsManager.addGroupPermission(JiveConstants.COMMUNITY, community.getID(), jiveSupportGroup, PermissionType.ADDITIVE, Permissions.VIEW_COMMUNITY);
permissionsManager.addGroupPermission(JiveConstants.COMMUNITY, community.getID(), jiveSupportGroup, PermissionType.ADDITIVE, Permissions.CREATE_THREAD);
permissionsManager.addGroupPermission(JiveConstants.COMMUNITY, community.getID(), jiveSupportGroup, PermissionType.ADDITIVE, Permissions.READ_DOCUMENT);
&lt;/code&gt;&lt;/pre&gt;&lt;!--[CodeBlockEnd:941d07a3-767f-4eb8-8d15-c14227d49ef8]--&gt;&lt;div&gt; &lt;/div&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;"So you mean to say that any cases that I create in my secure space are private to my company and members of Jive Software?"&lt;/p&gt;&lt;p&gt;Yup, and it's all done automatically the first time anyone from your company logs into Jivespace Community (where the Supportal lives).&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We even have a Group Membership Widget that shows which accounts have access to your secure space.&amp;#160; It's not part of our default layout yet, so if you'd like it for your space, open a case and ask for it! (For more information on this feature, please read this blog post &lt;a class="jive-link-blog-small" href="http://www.jivesoftware.com/jivespace/blogs/jivespace/2008/12/22/jives-newest-supportal-version"&gt;Jive's newest Supportal version&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Stay tuned for continued information about Jive's support solution, which will happen about every two weeks!&amp;#160; And don't forget to subscribe to this blog! ( &lt;/span&gt;&lt;a class="jive-link-blog-small" href="http://www.jivesoftware.com/jivespace/blogs/jivespace" target="_blank"&gt;http://www.jivesoftware.com/jivespace/blogs/jivespace/&lt;/a&gt;&lt;span&gt; )&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d0508c59-2894-4583-83da-8664451f5daf] --&gt;</description>
      <category domain="http://www.jivesoftware.com/jivespace/blogs/jivespace/tags">permissions</category>
      <category domain="http://www.jivesoftware.com/jivespace/blogs/jivespace/tags">supportal</category>
      <category domain="http://www.jivesoftware.com/jivespace/blogs/jivespace/tags">spaces</category>
      <pubDate>Thu, 08 Jan 2009 16:44:28 GMT</pubDate>
      <author>communities@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/blogs/jivespace/2009/01/08/how-do-the-account-spaces-get-created-anyway-is-it-private</guid>
      <dc:date>2009-01-08T16:44:28Z</dc:date>
      <clearspace:dateToText>10 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
      <wfw:comment>http://www.jivesoftware.com/jivespace/blogs/jivespace/comment/how-do-the-account-spaces-get-created-anyway-is-it-private</wfw:comment>
      <wfw:commentRss>http://www.jivesoftware.com/jivespace/blogs/jivespace/feeds/comments?blogPost=1642</wfw:commentRss>
    </item>
  </channel>
</rss>

