[Vtigercrm-developers] Question on Role based Picklists

Alan Lord alanslists at gmail.com
Fri Feb 13 08:51:45 GMT 2015


On 13/02/15 07:45, Alan Lord wrote:
>
> What my customer has asked, which I kind of like, is so that the user
> should be able to "see" the values, but should not be able to choose
> values that are not in his Role.
>
> Having been delving into the depths of the validation engine in 6, I
> think this kind of test may well be possible to do but, as vtiger 6 is
> right now the user won't see these values of course.

Well, I just did a test on a clean vtiger 6.2.0 and role-based picklist 
handling is a bit of a mess frankly, it all depends on the view you are 
currently in:

* In List view a value I am not allowed to choose simply says "Access 
Denied"

* When looking at a record in Summary or Detail View a non-privileged 
user can *see* the value that is already set in the picklist, even if it 
is a value they are not allowed to choose. But if you click the pencil 
icon to edit it you *must* then change it to something you are allowed; 
there is no way to cancel the edit at all

* In Edit view loading the screen *resets* the picklist to a blank 
option forcing the user to set it to something they are able to choose 
or leave blank if not a mandatory field

IMHO this is all very inconsistent and confusing for the user.

Al




More information about the vtigercrm-developers mailing list