Re: domain-wide patterns for enterprise/person attribute editor
Adam Tauno Williams <[email protected]> Thu, 14 May 2009 11:12:51 -0400
| Newsgroups | gmane.comp.cms.opengroupware.user |
|---|---|
| Message-ID | <1242313971.6363.24.camel@linux-m3mt> |
On Thu, 2009-05-14 at 16:38 +0200, Renzo Vettori wrote:
> I mean the per-user "configure".
These are stored in the user's defaults [$DOCROOT/$OBJECTID.defaults] in
the persons_view_attributes & enterprises_view_attributes properties.
Some of these properties can be set through the use of template users;
so if a user is associated with template user X then when they log in
they start with a copy of X's defaults rather than a blank-slate. But I
don't think there is any way to set these via the user manager. You
could probably script the change into all the .defaults files.
There is also the tool "ogo-defaults" which is installed in a default
OGo install that "Tool to manipulate the defaults database of a specific
OGo user" but I haven't used it (although it looks WMOGAG worthy).
The defaults in question look like :
"persons_sub_view" = attributes;
"persons_view_attributes" = {
" " = (
birthday,
keywords,
comment,
contact,
degree,
email1,
email2,
"10_fax",
"15_fax_private",
firstname,
sex,
middlename,
name,
nickname,
owner,
salutation,
"01_tel",
"02_tel",
"05_tel_private",
url,
objectVersion
);
};
--
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users