[dev] some questions/remarks/applauses....

Mathieu CLABAUT mathieu.clabaut@free.fr
Tue, 12 Mar 2002 12:26:40 +0100 (CET)


---------------------- multipart/mixed attachment
On Mon, 11 Mar 2002, Chuck Hagenbuch wrote:

> Quoting Mathieu CLABAUT <mathieu.clabaut@free.fr>:
> >   - Is there already a mean to associate permission to differents
> >     objects (some permission for one task, one tickets, one event) ?
> Most of this work doesn't exist yet. You can currently associate perms with
> modules in Whups; they aren't looked at anywhere else.

  Ok, I'll try to implement some of that (for nag in particular), but
  not in a near futur...

> >   - What is the easiest way for chora to remember the repository and
> >     directory where the user was the last time he used chora, .....
> Add a preference for it, and send us a patch. :)
  Ok, the patch against yesterday HEAD cvs is joined.... I took
  inspiration from IMP last_login prefs.
  Hope it will be of some use. I didn't implement UI for prefs.
  The way I use 'login' variable does not satisfied me very much, but it
  seems to work...

> >   - In IMP, when composing new mail and using the marvelous new
> >     adressbook popup, I'm unable to make it searching other field than
> >     'name'  (even after selecting other search fields in the associate
> >     options...). I didn't have time to invest
> Doesn't look like it's coded to allow anything else...
  Ok.... If i manage to make it works, I'll send you a patch.

-mat


-- 
___________________________________________________________________________
Mathieu CLABAUT                            mailto:mathieu.clabaut@free.fr
DIGINEXT                                     http://mathieu.clabaut.free.fr
45, impasse de la draille, P.A. La Duranne,   tel: 04 42 90 82 91
13857 Aix En Provence - cedex 3               fax: 04 42 90 82 80

---------------------- multipart/mixed attachment
ZGlmZiAtY05CYndyIGNob3JhL2NvbmZpZy9wcmVmcy5waHAgL3Jvb3Qvd3d3
L2RldmVsL2hvcmRlL2Nob3JhL2NvbmZpZy9wcmVmcy5waHANCioqKiBjaG9y
YS9jb25maWcvcHJlZnMucGhwCVRodSBKYW4gIDEgMDE6MDA6MDAgMTk3MA0K
LS0tIC9yb290L3d3dy9kZXZlbC9ob3JkZS9jaG9yYS9jb25maWcvcHJlZnMu
cGhwCVR1ZSBNYXIgMTIgMTI6MTY6MDQgMjAwMg0KKioqKioqKioqKioqKioq
DQoqK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