[OGo-XML-RPC] Group permissions via XML-RPC or webdav
Adam Tauno Williams
xmlrpc@opengroupware.org
Tue, 31 Jan 2006 08:38:10 -0500
--=-F8R95E0Vm6ZaQIn6a1yQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Tue, 2006-01-31 at 13:30 +0100, Helge Hess wrote:
> On Jan 31, 2006, at 13:21, Adam Tauno Williams wrote:
> > The appointment struct processed by XML-RPCs needs two changes
> > 1.) Add a key "readTeam" that has the read-access team id as the value.
> > 2.) Add a key "writeTeams" that is an array of team ids for write=20
> > access
> I wonder whether it would be better to deal with those in a separate=20
> XML-RPC method like
> appointment.setPermissions(readAccessTeam, writeACL)
> What do you think?
Would be fine with me. "readAccessTeam" would be a single team pkey,
and "writeACL" would be an array of team pkeys? But wouldn't it have to
be -=20
appointment.setPermissions(appointment, readAccessTeam, writeACL) =20
- where "appointment" is the pkey of the appointment object?
But it would still be very useful to have some way to retrieve the
current permission settings (read team, and write teams). So a
setPermissions would need an accompanying getPermissions.
--=-F8R95E0Vm6ZaQIn6a1yQ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQBD32hCLRePpNle04MRAqpuAJ9rmwEMDQ229L9gibH9ux0/j09ISQCcCveC
EkpQUTcgXI5/V/GwMLZ29aY=
=cPva
-----END PGP SIGNATURE-----
--=-F8R95E0Vm6ZaQIn6a1yQ--