Forum


List Manager Support

List Manager support
Forums
Public write access is disabled. Please login

Field access control when add new records 07.02.2016 01:12

Is there any possibilities to restrict editing some fields when a user add a new record to a list?

Re: Field access control when add new records 07.02.2016 14:13

Hi,
you can set which fields are available to edit when adding a field, at the acl menu of your list. You must enable the 'add' permission, disable the 'edit' permission (which enables all fields at a time) and then select separatedly the fields you want to enable. This restriction will work both for adding new fields, or for edition of existing rows.

Hope this helps,regards
Moonsoft Team
www.moonsoft.es

Re: Field access control when add new records 08.02.2016 15:35

Ok. In this case there is a bug: we set restrictions to edit some fields, and they works in edit mode (the appropriate fields are disabled), but doesn't work in add mode (all fields are editable).

Re: Field access control when add new records 08.02.2016 16:41

Hi,

If you want to get the same behavior in edit and add mode, you should add at JOOMLA/components/com_listmanager/assets/js/listmanager.js, line 800:

case 'add':

to get:

case 'edit':
case 'add':

With this change, form will apply in 'add' the acl configured for 'edit'.

Regards,
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback