[Vtigercrm-developers] Permission to access reference type is denied
Adam Heinz
amh at metricwise.net
Wed May 2 14:47:00 PDT 2012
I'm working on my second project using the web service API and I just
got this error for the first time, "Permission to access reference
type is deniedUsers". I drilled into the code and the exception is
being thrown from vtws_create() on the assigned_user_id field. My
first project was a lead submission form that also used this field,
and it worked no problem. This second project is against a custom
module I am in the process of creating, so I have to assume that I set
it up incorrectly or omitted something. Doing a SELECT * from
vtiger_field comparing the new fields reveals that they are virtually
identical.
| tabid | fieldid | columnname | tablename | generatedtype |
uitype | fieldname | fieldlabel | readonly | presence |
selected | maximumlength | sequence | block | displaytype | typeofdata
| quickcreate | quickcreatesequence | info_type | masseditable |
helpinfo |
+-------+---------+------------+------------------+---------------+--------+------------------+-------------+----------+----------+----------+---------------+----------+-------+-------------+------------+-------------+---------------------+-----------+--------------+----------+
| 7 | 51 | smownerid | vtiger_crmentity | 1 | 53
| assigned_user_id | Assigned To | 1 | 0 | 0
| 100 | 17 | 13 | 1 | V~M |
0 | 6 | BAS | 1 | NULL |
| 46 | 753 | smownerid | vtiger_crmentity | 1 | 52
| assigned_user_id | Assigned To | 1 | 2 | 0
| 100 | 7 | 109 | 1 | I~M |
1 | NULL | BAS | 1 | |
+-------+---------+------------+------------------+---------------+--------+------------------+-------------+----------+----------+----------+---------------+----------+-------+-------------+------------+-------------+---------------------+-----------+--------------+----------+
Any ideas?
More information about the vtigercrm-developers
mailing list