[OGo-Developer] task::qsearch & acccess
Adam Tauno Williams
developer@opengroupware.org
Fri, 16 Nov 2007 14:36:48 -0500
--=-9ECYja3TvntbItEHkYUn
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I've created a "job::qsearch" command like the "person::qsearch" and
"enterprise::qsearch"; as LSQualifierSearchTaskCommand descended from
LSQualifierSearchCommand. That was actually pretty easy. :) This is
really useful to us since we use the task application as a knowledge
base. The search capabilty regarding tasks in the mainline is really
primitive.
Also made a tool "ogo-qsearch-tasks" to test it.
Two questions -
(A) Is this something that can be committed to the mainline?
(B) Of course jobs provide no access control, ergo...
<0x0x8456c7c[SkyAccessManager]> found no access handler for entity Job
GID <0x0x84b4b0c[EOKeyGlobalID]: Job 10502400>: {}
... in the logs. And this presents a problem as using just the
todo/delegated/archived lists a user can't weasel into someone else's
tasks.
If (A) then is creating a OGoTaskAccessHandler object for use by the
OGoAccessManager in the Tasks bundle acceptable? =20
- Access provided if user is the creator or executor (incl. executor
via team)
- Access provided if task is assigned to a project to which the user
has "r" access.
Currently task::qsearch only searches the task's core information. Down
the line I want to search annotations, and possibly properties, like
qsearch does with the addresses / telephones / company values of
contacts and enterprises. Still hacking on that.
--=-9ECYja3TvntbItEHkYUn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
iD8DBQBHPfFQLRePpNle04MRAuVHAJ9yIyvZEX6wHRE0zgQJlpCBqk/62gCeNK1e
S0OLtjrj1uYcshKKiDb7F98=
=C9H2
-----END PGP SIGNATURE-----
--=-9ECYja3TvntbItEHkYUn--