Field Access

Post Reply
fahmisalim
Sponsor
Sponsor
Posts: 320
Joined: 12 May 2015, 08:33
Name: Fahmi Salim
Location: Indonesia BSD City
Company Name: AIMan
Contact:

Field Access

Post by fahmisalim »

Hi Sergey,

About field access, previous version more best I would say, because I can set view only in "A" field to let new record form wont show, but when user use automatic process will show if admin use filed as manual input through it. because in my app rule, user should use button in some filter condition to fill "A" field which set view only in first place.

In ver 2.3 it all change! when I set view only also in automatic process WILL NOT SHOW, It will make me have a lot job to change it, I should use display rules and so on to it. Please give back field access "view only"in previous version.

Or please give me option to use it or you can send me patch for field access in ver.2.3

Thank you
Regards,
Fahmi Salim
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Field Access

Post by support »

Well, fields displays rules not worked in Process form and it wag bug in 2.2. It was fixed in 2.3
Anyway if open file modules\items\views\processes.php where you can find next code

Code: Select all

//include fields displays rueles
	if(strlen($html))
	{
		$item_info = db_find('app_entity_' . $current_entity_id,$current_item_id);
		$app_items_form_name = 'process';
		require(component_path('items/forms_fields_rules.js'));
	}
You can remove it if it needs.
fahmisalim
Sponsor
Sponsor
Posts: 320
Joined: 12 May 2015, 08:33
Name: Fahmi Salim
Location: Indonesia BSD City
Company Name: AIMan
Contact:

Re: Field Access

Post by fahmisalim »

Thanks sergey
I will try
fahmisalim
Sponsor
Sponsor
Posts: 320
Joined: 12 May 2015, 08:33
Name: Fahmi Salim
Location: Indonesia BSD City
Company Name: AIMan
Contact:

Re: Field Access

Post by fahmisalim »

for this issue, after I upgrade to final 2.3 it happen again although you already disable script in modules/item/views/process.php
Screen Shot 2018-09-18 at 16.21.08.png
so until you response this post, for temporary I use process.php from previous version (2.2), hope will not have bugs further

Thanks
Regards,
Fahmi Salim
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Field Access

Post by support »

You can use process.php form 2.3 because I have set off this code. Many users complain about it. So I probably add flag in future to use rules or not but at the moment it works in the same way as in 2.2
fahmisalim
Sponsor
Sponsor
Posts: 320
Joined: 12 May 2015, 08:33
Name: Fahmi Salim
Location: Indonesia BSD City
Company Name: AIMan
Contact:

Re: Field Access

Post by fahmisalim »

Hi Sergey

No I cant! I can not use ver 2.3 for process.php, I have test it. After I replace process.php from ver 2.2, ìt works. So better you check it in ver 2.3.
fahmisalim
Sponsor
Sponsor
Posts: 320
Joined: 12 May 2015, 08:33
Name: Fahmi Salim
Location: Indonesia BSD City
Company Name: AIMan
Contact:

Re: Field Access

Post by fahmisalim »

this issue in ver 2.3.1 still exist
for temporary I still use process.php from ver 2.2
Post Reply