Emile,

Thanks for helping me so far, but I am still experiencing problems with
sitegroups and I just don't understand why/how.

I have the admin site in sitegroup 0 and my own site in sitegroup 1 and some
user sites in sitegroups 2,3 & 4. I have users that are to maintain each
individual sitegroup. They should only be able to maintain the sites in
their sitegroup.

If the user that is to maintain sitegroup 3 logs in with user+sitegroup_name
then the following settings are active in the root page of the admin site:

$midgard->user = 7
$midgard->root = 0
$midgard->sitegroup = 3
$midgard->admin = 0

Now why, when I am going to the host admin, it lists all sites in sitegroup
3 plus the admin site (the only site in sitegroup 0)? It does not list sites
in groups 2&3, which is ok.

This behavior is repeated for all other items as well (content, style and
group). The same applies to the user in sitegroup 2, he also gets to modify
everything in sitegroup 0 and sitegroup 2.

Is this by design? If not (and I hope and think it is not) then what could
possibly be wrong.

I have also noticed some strange behavior that I cannot explain. When there
is no member record that links a user to a group, the user is seen as a
"user". When I create a member record, setting the info field to any value
(nothing, member or owner), midgard sees this user as an administrator? Is
this correct?

Also, why is a plain "user" able to create new hosts? Shouldn't this be
disabled for users and only enabled for administrators. Basically in midgard
terms what is the difference between a user and a administrator, in my setup
it doesn't seem to matter.

Regards,
Dick

-----Original Message-----
From: Emiliano [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 6:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [midgard] admin site sitegroup and user sitegroup



> I got it working, but I am still not completely happy. How do I
> prevent the sitegroup user from seeing and being able to edit(!) the
> admin site in his host list.
>
> When I put the admin site in a separate sitegroup then the following
> error occurs on every page when I logged on as the sitegroup
> maintainer (user+sitegroup name).

You mean you put the admin site in the users' sitegroup? Then he can edit
it permissions allowing (like when he's sitegroup admin). That's a
feature.

> Warning: $adminhost is not an object in code-util on line 2
>
> Everything is alright when I logon as admin*.

Is everything from the admin site in SG0? The code that fetches may end up
trying to fetch a host record in another sitegroup (and failing of
course).

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to