<?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 Re: Setting a daily quota for instances that anonymous account can start in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196052#M149182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a global solution. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Aug 2015 15:08:27 GMT</pubDate>
    <dc:creator>vasilnedev</dc:creator>
    <dc:date>2015-08-03T15:08:27Z</dc:date>
    <item>
      <title>Setting a daily quota for instances that anonymous account can start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196050#M149180</link>
      <description>Hi, I am developing a frontend app in AngularJS. What is the best way of setting a daily quota for the number of instances that a demo (or any) user can start? The demo user is anonymous and hence I am afraid of somebody attacking the Engine via my app.Thanks and regardsVasil</description>
      <pubDate>Mon, 03 Aug 2015 08:44:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196050#M149180</guid>
      <dc:creator>vasilnedev</dc:creator>
      <dc:date>2015-08-03T08:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a daily quota for instances that anonymous account can start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196051#M149181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so you want to have a quota only for your client application (the one you are working on) or the quota should be global ? (which will affect all the client applications)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;—-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that a process could be started by a timer event. (and it could be configured in the process definition XML so you should do it in the engine globally in order to restrict the engine from creating too many instances.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 09:10:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196051#M149181</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-03T09:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a daily quota for instances that anonymous account can start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196052#M149182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for a global solution. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Aug 2015 15:08:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196052#M149182</guid>
      <dc:creator>vasilnedev</dc:creator>
      <dc:date>2015-08-03T15:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a daily quota for instances that anonymous account can start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196053#M149183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Two ways to to it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add a system task in your process that executes a query on Activiti´s historic data and allow/forbid it to continue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a global event listener that checks for the creation os new process instances and kill them on some condition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 02:03:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196053#M149183</guid>
      <dc:creator>pmsevestre</dc:creator>
      <dc:date>2015-08-07T02:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a daily quota for instances that anonymous account can start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196054#M149184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks pmsevestre for your contribution; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some comments:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(killing a instance after it was created maybe is not a very nice solution since he want to prevent creation)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@ vasilnedev, since you want to prevent creation of process instances maybe you could put some code inside StartProcessInstanceCmd.java in order to prevent instance creation if quota is reached. (as pmsevestre said for the first solution, by checking the historic data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Aug 2015 07:20:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/setting-a-daily-quota-for-instances-that-anonymous-account-can/m-p/196054#M149184</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-08T07:20:11Z</dc:date>
    </item>
  </channel>
</rss>

