I want to show my users the result of a "Binary Field" but I do not want them to be able to change it themselves. If they don´t have any update access, this works but if I want them to have the option to edit all other fields they also can change the binary filed.
Is there a way I can restrict just that function (Binary Field)?
This apply to ChronoConnectivity 4.0 RC3.2
Edit:
I use:
Joomla 2.5.7
CF 4.0 RC3.5.1
CC 4.0 RC3.2
//JeLu
Is there a way I can restrict just that function (Binary Field)?
This apply to ChronoConnectivity 4.0 RC3.2
Edit:
I use:
Joomla 2.5.7
CF 4.0 RC3.5.1
CC 4.0 RC3.2
//JeLu
Hi Jelu,
Unfortunately this may not be possible, the binary permissions are the same as the update permissions, since you do a record update.
But you can use the data row event to disable the link click or make it a plain image if the logged in user is not an admin.
Regards,
Max
Unfortunately this may not be possible, the binary permissions are the same as the update permissions, since you do a record update.
But you can use the data row event to disable the link click or make it a plain image if the logged in user is not an admin.
Regards,
Max
Hi Max!
Do you mean that I would use a custom listing setting. In that case, can I use the user-group restriction?
Ok I test and see what happens.
//JeLu
Do you mean that I would use a custom listing setting. In that case, can I use the user-group restriction?
Ok I test and see what happens.
//JeLu
Hi Jelu,
I mean to use the "Auto list event" field to control the row output using a custom code action, e.g:
Regards,
Max
I mean to use the "Auto list event" field to control the row output using a custom code action, e.g:
<?php
if(group == admin) //use real code instead
$form->data['row']['field'] = 'content here';
?>
Regards,
Max
This topic is locked and no more replies can be posted.
