Re: Group permissions via XML-RPC or webdav
Adam Tauno Williams <[email protected]> Tue, 31 Jan 2006 08:38:10 -0500
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
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 > > access > I wonder whether it would be better to deal with those in a separate > 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 - appointment.setPermissions(appointment, readAccessTeam, writeACL) - 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.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBD32hCLRePpNle04MRAqpuAJ9rmwEMDQ229L9gibH9ux0/j09ISQCcCveC EkpQUTcgXI5/V/GwMLZ29aY= =cPva -----END PGP SIGNATURE-----