#### The Forth Step --- Basic User Management

##### Description

At this section, learn the basic user management. Edit permissions of groups, create a new group, and add a new user to groups.

##### The Forth Step (1) --- How to give permissions

Your account is an administrator who is able to do anything. But, what do anonymous users and registered users see in your site? Let's confirm it. Click "logout" to become an anonymous user. By that, you are forwarded to the homepage. In there, you notice that the main menu block shows "news" and "forum" for you. The reason is that anonymous users don't have a permission to access these modules. So let's give a permission to anonymous users. Login as an adminstrator, and go to the control panel. And , click "Group Management" of use module in the left block of the control panel.

You see the group list.

These are system-fixed groups, which you have already learned at the second step. To change permissions, click the permission icon of the row indicating "Anonymous".

Next, click a checkbox of news access and forum access to turn on. Then, click "Submit" button.

Let's confirm the result. Click "logout", and see the homepage again. You will see the display you hope.

##### The Forth Step (2) --- Create a new user

Confirm the case of registered users, too. For that, you need to create a new user as a test acoount. At first, click "User Management" of user module in the left block of the control panel. Next, click "Create new".

You see the edit-form to create a new user. You must input User name (Login ID), email and password.

###### User name

This is Login ID. You must input an unique name. This time, input "test".

###### Email address

You must input an unique email which other users don't use yet, because the precondition of XOOPS2 requests an unique email of each users. This time, input your e-mail address which you don't use for an administrator.

You should not use dummy e-mail. That's moral.

###### Password

Threre are two boxes for password. One of them is verify password. Input the same password to two boxes. This time, input "test"

After you created a new user successfully, try to login with the new account. But, you can't see news and forum at the main menu block. Yes, the reason is that the registered users group doesn't have permissions. Give the same permission to the registered users in the control panel, like you gave the permission to the anonymous users group.

##### The Forth Step (4) --- Site Launched

Now let's launch your site! Go to final settings. You invalidated the new user registration. To change the setting again, click "Preference" of user module in the left block of the control panel.

Next, enable "Allow new user registration?". And, let's check other settings, too.

###### Allow users to change email address?

When a new user registered, specific groups can get the notification-mail.

###### Notify by mail when a new user is registered?

When a new user registered, specific groups can get the notify mail.

###### Select activation type of newly registered users

Require activation by user
  This is the popular setting in the world. A user get the activation mail when he registers. He become able to login by clicking the activation URL on the mail.
Activate automaticlly
  "Activate automaticlly" ... in other words, there is no activation mechanism.
Activation by administrators
  A user doesn't become able to login without approval by administrators.

###### Allow custom avatar upload?

If you allow it, user become able to upload his avatar freedom.

###### Site Launch

Everything is set. Push "Submit" button!

##### The Forth Step (3) --- Add administrator team mate

Since many users use your site, it became difficult to manage your site by you only. And so, you decided to add your friends to administrators. For that, you need to create a new group having specific permissions, at first. Create a new group "News Administrators" in "Group Management". Next, add "Jorn Dagrus" and "Michel Romano" to the group. There are many methods to do it.

###### Group Member function

Click the member icon of the row indicating "News Administrators" in "Group Management".

You see two user lists --- the list of members and not members.

Find "John" & "Sean", click the chckbox of them, and push "Assign". This function is a standard function, but it's not useful for many users because you can't search users in this function.

###### User Seach function

Because a name of users you hope is fine, try to search them through "User Search". Click "User Search" of user module in the left block of the control panel.

You see the edit-form for user search. You can find users with user name.

Then, click the edit-icon in the search result. You can change groups of them.

##### Conclusions

You've just finished learning the basic use of XOOPS Cube Legacy. You can do basic controls of XOOPS Cube Legacy, because you know modules, blocks and basic user management. For more informations, use other helps and Google.

Wishing your site a very successful future.

###### Note

XOOPS Cube Legacy has a basic permission mechanism only. By that, modules may have more great permission controller. And, XOOPS Cube has the role-base permission mechanism. If you hope to understand XOOPS Cube more, learn them.