<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Handling Access Setup for Version2 of a Module]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8372</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8372&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Handling Access Setup for Version2 of a Module.]]></description>
		<lastBuildDate>Mon, 02 Sep 2019 02:29:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35886#p35886</link>
			<description><![CDATA[<p>On Fresh Installation</p><p>Version 1<br /></p><div class="codebox"><pre><code>[Section353280] =&gt; 1
    [Area353380] =&gt; 1
    [Area353381] =&gt; 1
    [Area353382] =&gt; 1
    [Area353383] =&gt; 1
    [Area353384] =&gt; 1
    [Area353385] =&gt; 1
    [Area353386] =&gt; 1
    [Area353387] =&gt; 1
    [Area353388] =&gt; 1
    [Area353389] =&gt; 1
    [Area353390] =&gt; 1
    [Area353391] =&gt; 1
    [Area353392] =&gt; 1
    [Area353393] =&gt; 1
    [Area353394] =&gt; 1
    [Area353365] =&gt; 1
    </code></pre></div><p>Version2<br /></p><div class="codebox"><pre><code>[Section418816] =&gt; 1
    [Area418916] =&gt; 1
    [Area418917] =&gt; 1
    [Area418918] =&gt; 1
    [Area418919] =&gt; 1
    [Area418920] =&gt; 1
    [Area418921] =&gt; 1
    [Area418922] =&gt; 1
    [Area418923] =&gt; 1
    [Area418924] =&gt; 1
    [Area418925] =&gt; 1
    [Area418926] =&gt; 1
    [Area418927] =&gt; 1
    [Area418928] =&gt; 1
    [Area418929] =&gt; 1
    [Area418930] =&gt; 1
    [Area418931] =&gt; 1
    </code></pre></div><p>@poncho1234 YOu can take any module and rename it and install it. The Section and Area Codes will be different.</p><p>My Problem is to copy the Section and Area Settings from Version 1 to Version 2.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 02 Sep 2019 02:29:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35886#p35886</guid>
		</item>
		<item>
			<title><![CDATA[Re: Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35885#p35885</link>
			<description><![CDATA[<p>I already have renamed the module. My basic module is <strong>clearing</strong> and the version 2 is <strong>clearingv2</strong>. Security settings are just same in hooks.php except the one mentioned in post#3</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 02 Sep 2019 02:10:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35885#p35885</guid>
		</item>
		<item>
			<title><![CDATA[Re: Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35883#p35883</link>
			<description><![CDATA[<p>@boxygen - this doesn&#039;t answer your question; could you just rename the module, keeping the existing security settings?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sun, 01 Sep 2019 15:07:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35883#p35883</guid>
		</item>
		<item>
			<title><![CDATA[Re: Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35882#p35882</link>
			<description><![CDATA[<p>Wonder if the constants are case sensitive and can contain numbers - SS_CLEARINGINVOICEv2</p><p>FA cleverly manages to get new sequential values if existing ones are occupied (105).</p><p>105 * 256 (shift left 8) = 38400.</p><p>Obviously you have tried to install, remove and re-install the module several times.</p><p>Try it on a fresh FA install with no other module and see what comes of it.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 01 Sep 2019 14:59:19 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35882#p35882</guid>
		</item>
		<item>
			<title><![CDATA[Re: Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35874#p35874</link>
			<description><![CDATA[<p>My hooks.php is almost the same except below</p><p>Version 1<br /></p><div class="codebox"><pre><code>define (&#039;SS_CLEARINGINVOICE&#039;, 105&lt;&lt;8);</code></pre></div><p>Version2<br /></p><div class="codebox"><pre><code>define (&#039;SS_CLEARINGINVOICEv2&#039;, 105&lt;&lt;8);</code></pre></div><br /><p>But the resulting Section and Area Numbers are different</p><p>Version1<br /></p><div class="codebox"><pre><code>[Section5006336] =&gt; 1
    [Area5006436] =&gt; 1
    [Area5006437] =&gt; 1
    [Area5006438] =&gt; 1
    [Area5006439] =&gt; 1
    [Area5006440] =&gt; 1
    [Area5006441] =&gt; 1
    [Area5006442] =&gt; 1
    [Area5006443] =&gt; 1
    [Area5006444] =&gt; 1
    [Area5006445] =&gt; 1
    [Area5006446] =&gt; 1
    [Area5006447] =&gt; 1
    [Area5006448] =&gt; 1
    [Area5006449] =&gt; 1
    [Area5006450] =&gt; 1
    [Area5006451] =&gt; 1</code></pre></div><p>Version2<br /></p><div class="codebox"><pre><code>[Section6054912] =&gt; 1
    [Area6055012] =&gt; 1
    [Area6055013] =&gt; 1
    [Area6055014] =&gt; 1
    [Area6055015] =&gt; 1
    [Area6055016] =&gt; 1
    [Area6055017] =&gt; 1
    [Area6055018] =&gt; 1
    [Area6055019] =&gt; 1
    [Area6055020] =&gt; 1
    [Area6055021] =&gt; 1
    [Area6055022] =&gt; 1
    [Area6055023] =&gt; 1
    [Area6055024] =&gt; 1
    [Area6055025] =&gt; 1
    [Area6055026] =&gt; 1
    [Area6055027] =&gt; 1</code></pre></div><br /><p>I am trying to understand that which factor is bringing this difference in code of both Versions.</p><p>My First version is installed on 76th Position and New Version is installed in 92nd Position in installed_extensions.php.</p><p>@apmuthu, Can you help me to understand the logic. Its bit tricky using bitwise operators.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Sun, 01 Sep 2019 07:22:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35874#p35874</guid>
		</item>
		<item>
			<title><![CDATA[Re: Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35872#p35872</link>
			<description><![CDATA[<p>Version 2 should be a new module (with it&#039;s own distinct name) in your case as you want to have both versions concurrently with only a subset using the new version. A separate script in your new version module must independently migrate the security settings as needed or have it set anew in it.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 01 Sep 2019 06:05:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35872#p35872</guid>
		</item>
		<item>
			<title><![CDATA[Handling Access Setup for Version2 of a Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=35847#p35847</link>
			<description><![CDATA[<p>Hello,</p><p>I have module <strong>clearing</strong> and there are 10 companies on it. Now I want to launch version 2 of this module without changing the first version. <strong>clearingv2</strong>. I don&#039;t want all clients to shift to this new version.</p><p>When I do this and install this new version as a new module and shift any of these clients to this new version. I lost all security settings for this new version.</p><p>Since there are many roles in each company it is very tedious to reassign all security settings.</p><p>Is there any way that my version2 inherits the security settings of version1?</p><p>Your support is highly appreciated.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 30 Aug 2019 04:33:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=35847#p35847</guid>
		</item>
	</channel>
</rss>
