<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trying to make Kickstart App not appear when not being Admin in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243362#M196492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to know how to make sure that when I log in as a user without admin capabilities, they will not see the Kickstart App default menu in the main landing page. I've tried including this function in the Kickstart App definitions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;isVisible: function(){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return AuthenticationSharedService.hasAdminCapability();&lt;BR /&gt;}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within the runtime-app-definition.js but it gives out a NULL value. When said line was given in, for example, idm-app.js, it will give out a proper true/false depending on Admin Capabilities (so the menus User and Organization do not appear in the Identity Management header menu), so it works properly there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can we put on the 'check if user has Admin Capabilities or not' for this endeavor? I suspect somewhere like landing-app.js, but I'm not sure. Help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 04:43:22 GMT</pubDate>
    <dc:creator>chrisx_212</dc:creator>
    <dc:date>2016-06-15T04:43:22Z</dc:date>
    <item>
      <title>Trying to make Kickstart App not appear when not being Admin</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243362#M196492</link>
      <description>Hello all.I'd like to know how to make sure that when I log in as a user without admin capabilities, they will not see the Kickstart App default menu in the main landing page. I've tried including this function in the Kickstart App definitions:isVisible: function(){&amp;nbsp;&amp;nbsp;&amp;nbsp;return AuthenticationSharedServ</description>
      <pubDate>Wed, 15 Jun 2016 04:43:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243362#M196492</guid>
      <dc:creator>chrisx_212</dc:creator>
      <dc:date>2016-06-15T04:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to make Kickstart App not appear when not being Admin</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243363#M196493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is from the top of my head … but doesn't the 'account' call returns the information on which capabilities the user has?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 13:04:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243363#M196493</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-20T13:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to make Kickstart App not appear when not being Admin</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243364#M196494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I changed the if-statement in runtime-app-definition-service.js from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (app.defaultAppId === 'kickstart') {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (app.defaultAppId === 'kickstart' &amp;amp;&amp;amp; AuthenticationSharedService.hasAdminCapability()) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I don't see the Kickstart button as a normal user (means &amp;lt;code&amp;gt;AuthenticationSharedService.hasAdminCapability()&amp;lt;/code&amp;gt; is not null for me and contains the correct value).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it is still possible to access the editor when you enter the URL directly (&lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-app/editor/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/editor/&lt;/A&gt;&lt;SPAN&gt;). I will take a closer look and I will post an update as soon as I found out more details about this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2016 10:52:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243364#M196494</guid>
      <dc:creator>duddex</dc:creator>
      <dc:date>2016-08-17T10:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to make Kickstart App not appear when not being Admin</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243365#M196495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you must use the hasAdminCapability() in the all begin of the all&amp;nbsp; kickstart's views controller if 's return null value then use&amp;nbsp; $scope.backToLanding() this method&amp;nbsp; exist&amp;nbsp; in all kickstart controllers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2016 09:51:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/trying-to-make-kickstart-app-not-appear-when-not-being-admin/m-p/243365#M196495</guid>
      <dc:creator>walkhadher</dc:creator>
      <dc:date>2016-11-19T09:51:10Z</dc:date>
    </item>
  </channel>
</rss>

