[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: contact class --- can only select/create employees in contacts



Michael Richardson <..hidden..> wrote:
    > A few weeks ago (maybe even December...) we were discussing if I had a data
    > or code issue with Add Contact, as the drop-down only show "Employee" as a
    > class.

I found the problem.
After some sleuthing, and changing the name "Employee" to "Emplopee" in the
table and noting the failure to find the right role, I ran:

sswbooks=# select entity__list_classes();
 entity__list_classes
----------------------
 (1,Vendor,t)
 (2,Customer,t)
 (3,Employee,t)
 (4,Contact,t)
 (5,Lead,t)
 (6,Referral,t)
 (7,"Hot Lead",t)
 (8,"Cold Lead",t)

looks good, but when logged as myself:

sswbooks=> select entity__list_classes();
 entity__list_classes
----------------------
 (3,Employee,t)
(1 row)

I used setup.pl to edit my account, finding some seemingly random boxes
unchecked. I checked them all, and now I have all options in the drop-down.

May I suggest that this is entirely the wrong approach to a user interface?

It's great to drive the permissions from database permissions, but I think
that all of the options should be visible, just not selectable.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     ..hidden..  http://www.sandelman.ca/        |   ruby on rails    [


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel