Frank Boehme wrote:

> 1) The site admins should be able to create users and groups for their
> site.
> 2) The site admins should somehow be able ot use pictures without having
> accounts on the machine where midgard runs.

'Somehow' is possible, using blobs. But as you know the older,
multidb-proof admin site doesn't offer an interface to them. You or
they would have to write custom code, or an extension of the midgard
admin site for that. The framed admin site may offer blobs, but I'm
not sure of that. The framed admin is multidb-proof.

> 3) The admin site should be shared and in an isolated database (the
> latter with respect to easy upgrade of the admin site).
> 
> I believe, I have to create for each user a pair of admin/user virtual
> servers, as suggested earlier by Emile:
> 
> <VirtualHost _default_:*>
> Servername www.user1.com
> MidgardDatabase user1 commonuser commonpass
> </VirtualHost>
> <VirtualHost _default_:*>
> Servername admin.user1.com
> MidgardDatabase user1 commonuser commonpass
> MidgardPageDatabase adminsite commonuser commonpass
> </VirtualHost>
> 
> <VirtualHost _default_:*>
> Servername www.user2.com
> MidgardDatabase user2 commonuser commonpass
> </VirtualHost>
> <VirtualHost _default_:*>
> Servername admin.user2.com
> MidgardDatabase user2 commonuser commonpass
> MidgardPageDatabase adminsite commonuser commonpass
> </VirtualHost>

That's the easiest case. You can do quite hairy stuff with prefixes,
but let's not go there right now. The host records for the admin sites
must be in the pagedatabase, BTW.

> I believe, with a setup like this, authentication is always done against
> the user databases, is this so?

Yes.

> If so, then I have to create a number of user databases where the
> adminsitrator account is already set but
> nothing else need to be in there, because each user can access the admin
> site andd create hosts.
> 
> Question 1) Am I right about this?

Yes.

> Question 2a) Suppose, I have only one shared blobdir. But since the blob
> tables are in the user databases, I will have a mess, right? Or not?

The actual file names are generated by the GUID code, so these will
be allright. Using sitegroups, single host or multidb doesn't really
differ in this area.

> Qusetion 2.b) The old admin site is not attachment-aware. Is there a
> fix?

Not readily available, no.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to