<div dir="ltr">Hi Alan,<div><br></div><div>I checked this case for entries in vtiger_profile2standardpermissions table</div><div>and as well in user_privileges.php file, where for action 7 and also other actions</div><div>are set to zero(0) for Reports tabid(25).</div><div><br></div><div>As already mentioned, This is an extension module. So individual action level permission can't</div><div>be set, So how is this createview action mapped to '1' in this case?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 15, 2021 at 7:17 PM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15/01/2021 13:35, Alan Lord wrote:<br>
> Thanks Uma,<br>
> <br>
> So what is the CreateView action (7) permission for the Sales Profile <br>
> for the Report tabid in vtiger_profile2standardpermissions? And/or in <br>
> the user's user_privileges.php file?<br>
> <br>
> If it's 1, how is the isPermitted test being bypassed?<br>
> <br>
> Like I said I've just tested this on three systems and they all give me <br>
> permission denied...<br>
<br>
Ultimately the test that is causing the denied result is here:<br>
<br>
<a href="https://code.vtiger.com/vtiger/vtigercrm/blob/master/include/utils/UserInfoUtil.php#L369" rel="noreferrer" target="_blank">https://code.vtiger.com/vtiger/vtigercrm/blob/master/include/utils/UserInfoUtil.php#L369</a><br>
<br>
The $profileActionPermission[$tabid][$actionid] is populated with:<br>
<br>
$profileActionPermission[25][7]<br>
<br>
And as I said, this is "1".<br>
<br>
So it is right to return "no" but because Reports are not an Entity <br>
module in the Profile there is no way to edit the individual actions...<br>
<br>
I'm confused.<br>
<br>
<br>
Al<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>