|
From: Vincenzo Di S. <e.d...@ic...> - 2001-10-08 09:30:21
|
Uhmm, good we`ll put it in the new release, 0.4.1 :)
Juli=E1n Mu=F1oz Dom=EDnguez wrote:
> Here are 2 simple patches, to substitute AUTHENTICATED_USER.name
> by AUTHENTICATED_USER.getUserName(), as indicated in the Zope Book (API=
).
>=20
> Openflow didn't worked well with another kind of acl_users folder
> (mysqluserfolder), no it works.
>=20
>=20
>=20
>=20
>=20
> -----------------------------------------------------------------------=
-
>=20
> *** workflow.py.original Fri Oct 5 10:10:37 2001
> --- workflow.py Fri Oct 5 10:13:52 2001
> ***************
> *** 125,135 ****
> result[process.id][activity.id]['assigned'] =3D s=
elf.loadTokensInDictionaryList(process,
> =
activity,
> =
activity.reportTokens(status=3D'assigned',
> ! =
user=3DAUTHENTICATED_U=
SER.name))
> result[process.id][activity.id]['active'] =3D sel=
f.loadTokensInDictionaryList(process,
> =
activity,
> =
activity.reportTokens(status=3D'active',
> ! =
user=3DAUTHENTICATED_U=
SER.name))
> =20
> return result
> =20
> --- 125,135 ----
> result[process.id][activity.id]['assigned'] =3D s=
elf.loadTokensInDictionaryList(process,
> =
activity,
> =
activity.reportTokens(status=3D'assigned',
> ! =
user=3DAUTHENTICATED_U=
SER.getUserName()))
> result[process.id][activity.id]['active'] =3D sel=
f.loadTokensInDictionaryList(process,
> =
activity,
> =
activity.reportTokens(status=3D'active',
> ! =
user=3DAUTHENTICATED_U=
SER.getUserName()))
> =20
> return result
> =20
>=20
>=20
> -----------------------------------------------------------------------=
-
>=20
> *** todolist.dtml.original Thu Oct 4 18:28:09 2001
> --- todolist.dtml Thu Oct 4 18:30:44 2001
> ***************
> *** 18,24 ****
> name
> </th>
> <td>
> ! <big><dtml-var "AUTHENTICATED_USER.name"></big>
> </td>
> </tr>
> <tr>
> --- 18,24 ----
> name
> </th>
> <td>
> ! <big><dtml-var expr=3D"AUTHENTICATED_USER.getUserName()"></big>
> </td>
> </tr>
> <tr>
>=20
--=20
Vincenzo Di Somma - Responsabile Ricerca e Sviluppo - Icube S.r.l.
Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia
E-mail: e.d...@ic... WWW: www.icube.it
Tel: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
|