Francois Dumais wrote:

> > - Only root users can create new host and sitegroup records
>
> What is there to do in order for the new host to appear under the new
> sitegroup hierarchy

Create it as root while being in that sitegroup:
admin*requestedsitegroup.

> I ask cause when I tried creating a new host, being
> logged as "admin"-"password", every host that I tried to create was
> automatically placed under "Admin. Sitegroup" and not under my newly created
> sitegroup

Correct (even if I understand it can be unexpected at first); anything
you create is created under the sitegroup you log into. If root doesn't
qualify what sitegroup it wants to be in, it defaults to SG0 (what you
call the Admin. Sitegroup above).

> Are there other users than "admin"-"password" that are root users?

Not by default, but there can be. Root permissions are defined by:

- User is in SG0
- User is member of group 0
- the membership record that links the user to group 0 is in SG0

> What is a "admin site"?

The generic term for any administrative interface, which will typically
(although not necesarily) live in SG0

> Is any newly created sitegroup an "admin site"?

No.

> >   example, the !sitegroup as above)
> > - Only root-users can be in SG0 groups.
>
> What does SGO stand for? (Site Group O ... rganizer??)

SG0 (zero, no Oh). All sitegroups have an numeric internal ID which
points to their sitegroup record in the database. There's one special
global sitegroup with id 0 that has no such record in the database; it's
ID being zero makes it special. Since it has no record, it has no name,
and it is generally referred to as SG0.

> > - Only create sitegroups and host records as root. The rest can and
> >   should be done as admin.
>
> When I log as "admin"-"password", the system responds wit a "You are logged
> as Midgard Administrator - top You have root access in sitegroup SG0"
> message.  Then, am I an admin or a root??  What do I have to do to log under
> one or the other from one or the other?

The name is admin, the permissions are root. You will want to create a
sitegroup (e.g. 'newsitegroup'), log in as admin*newsitegroup, create a
host record, n admin group (nadmin creates this for you automatically,
and I think asgard does too), create one user in that group, who will be
the SG admin for that SG. You can leave the rest to that person.

> > So to create non-root users:
>
> by "users" do you mean "persons"??

Yes.

> > - Create sitegroup, if necesary,
>
> Under what circumstances is the creating of new sitegroup useful??  Is it
> better working under SGO or under new sitegroups?

I do not recommend having non-admin sites under SG0. You would create
SGs to compartementalize (is that a word? wow) your users -- admins from
one sitegroup have no access to the other sitegroups, so they can't
bugger up each others work, even if they're omnipotent within their own
sitegroup. If you only run sites of your own, it's practical to have all
sites in your own, single sitegroup in general. Another issue with
sitegroups is that users amongst them are distinct -- user 'emile' in
SG1 is another entity then user 'emile' in SG2, so if parts of your site
require logging in, and you want separate groups of people having access
(logging in is an all-or-nothing issue right now, if you can log in you
can read all from that site), you might want to set up separate
sitegroups for them.

> > - Create host record, if necesary
>
> When is it not necessary?

I always thought that to be visible from the
> internet you had to create host records, so aren't they necessary?

Yes, but if you only want to edit an existing site, you should log in as
admin of that sitegroup, not root.

> > - Log in as admin, create users, groups, assign rights, etc.
>
> When you says "Log in as admin", do you mean "as opposed to root"?

As opposed to someone with root permissions, yes.

> When you says "create users", do you mean "persons"?

Yes.

> What "rights"?

Assigning persons to groups, and making those groups owner of specific
objects, grants write access to those objects to these persons.

> > Resources (which is anything that can be in the Midgard database) are
> > created in the same sitegroup as their creator, which is why you don't
> > want to be root when creating anything but host and sitegroup records:
>
> How do you log in to be NOT a root?

username+sitegroupname (for SG0 sites).

> I tried many times using the "persons" username and password to log in but
> only succeeded when using "admin"-"password".  When and under what
> conditions can you log in as a different username-password?

By creating a (non-SG0) person first: log in as admin*theirSG, create a
user, log in as that user.

Emile


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

Reply via email to