<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Security role updations result in missing permissions]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7334&amp;type=atom" />
	<updated>2018-03-20T08:23:41Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7334</id>
		<entry>
			<title type="html"><![CDATA[Re: Security role updations result in missing permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31181#p31181" />
			<content type="html"><![CDATA[<p>Does this mean that all standard Chart of Accounts are made with Default Company permissions and that on creating a non default company with it does not automatically remove such Super Admin privileges for it?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-03-20T08:23:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31181#p31181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Security role updations result in missing permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30866#p30866" />
			<content type="html"><![CDATA[<p>When we create a new company (non-default) and choose the <strong>en_US-demo.sql</strong> company, we get the extra permissions by default - <strong>256;257;258;259;260</strong> but the code possibly handles this anomaly by restricting such permissions for the non-default company. When we edit the System Administrator Role in the new non-default company without making any changes (dummy save), the said permissions vanish in the backup. There is no restoration of any backups involved here.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-02-21T08:35:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30866#p30866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Security role updations result in missing permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30863#p30863" />
			<content type="html"><![CDATA[<p>Cannot reproduce this issue, on my installation all the permissions are the same in both backups, however their order changes. </p><p>I guess you restore admin backup file on non-first company in your setup, so site administration permissions are removed automatically. Only first company has administration rights allowed.</p><p>J.</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2018-02-21T08:02:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30863#p30863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Security role updations result in missing permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30838#p30838" />
			<content type="html"><![CDATA[<p>Will have a look later. Maybe we should address this to Janusz.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-02-18T16:57:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30838#p30838</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Security role updations result in missing permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30837#p30837" />
			<content type="html"><![CDATA[<p>Tested the following in a non default company.</p><p>1. Fresh install based on <strong>en_US-demo.sql</strong><br />2. Take backup 1<br />3. <strong>Setup =&gt; Access Setup</strong><br />4. Choose <strong>System Administrator</strong> Role<br />5. Click <strong>Save Role</strong><br />6. Take&nbsp; backup 2<br />7. Compare backup 1 and backup 2:</p><p>The backup 1 has these permissions for System Administrator:<br /></p><div class="codebox"><pre><code>256;257;258;259;260;</code></pre></div><p>The backup 2 does not have these anymore, all other permissions are the same.</p><p>When the permissions for the Fixed Asset Configuration is ticked for the System Administrator and the Role saved, the extra permission that appears for the said role is: <strong>9216</strong>.</p><p>@joe: Are there any defaults hardcoded in the scripts that may be in error?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-02-18T16:54:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30837#p30837</id>
		</entry>
</feed>
