mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
Merge pull request #125 from lateral-thinker/users
Add description for user management
This commit is contained in:
222
user_manual/users.rst
Normal file
222
user_manual/users.rst
Normal file
@@ -0,0 +1,222 @@
|
||||
User Management
|
||||
===============
|
||||
|
||||
A fictive use case will help you understand the concept of users, user groups
|
||||
and group admins.
|
||||
|
||||
Think of a small, 25-member staff company, named "Cloud Lovers", that is lead
|
||||
by its founder Richard. In this company Bob acts as IT operator and recently
|
||||
set up ownCloud. Being the installing user, Bob is member of the so called
|
||||
"admin" user group of ownCloud. His colleague Tom, who provides support if Bob
|
||||
is on holiday, is member of the "admin" user group as well. All employees,
|
||||
including Bob and Tom, are members of the user group "Internal", that is used
|
||||
to share data across the company. Mostly for operational data, that should not
|
||||
be accessible to all employees, Bob created the "Administration" user group
|
||||
having two members: Richard and his assistant Susan. Richard is group admin of
|
||||
this user group, so he can manage the members of the "Administration" user
|
||||
group on his own.
|
||||
|
||||
|
||||
|
||||
Users
|
||||
-----
|
||||
|
||||
A user represents an account of the ownCloud installation. In this section the
|
||||
core properties are listed.
|
||||
|
||||
*login name*
|
||||
This is the unique ID of a ownCloud user (e.g. test, jon.doe).
|
||||
|
||||
*display name*
|
||||
This is the name that is used all over the user interface to identify the
|
||||
user i.e. when sharing data or sending mails. If no display name is set, it
|
||||
defaults to the login name.
|
||||
|
||||
*password*
|
||||
This is the password the user uses to login to ownCloud.
|
||||
|
||||
*user group*
|
||||
This is a list of security groups the user is assigned to. By default the
|
||||
user is not member of any user group.
|
||||
|
||||
*group admin*
|
||||
This is a list of security groups the user has administration privileges for.
|
||||
By default the user is not registered as group admin for any user group.
|
||||
|
||||
*storage*
|
||||
This is the maximum disk space that may be used by the user. If the user
|
||||
reaches this limit he/she is not able to upload or sync further data. The
|
||||
storage quota is specified in the format *Number Unit* (e.g. 100 B (byte),
|
||||
50 KB (kilobyte), 20 MB (megabyte), 5 GB (gigabyte)). If no unit is given,
|
||||
the number is interpreted as bytes.
|
||||
|
||||
Each user is able to change its display name and password.
|
||||
|
||||
|
||||
|
||||
Create User
|
||||
~~~~~~~~~~~
|
||||
|
||||
Before users can sign in and share data, they need ownCloud user accounts.
|
||||
|
||||
To create a user account:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Enter the new user's **login name** and its initial **password** in the
|
||||
appropriate fields.
|
||||
#. Select the **user groups** to which you want to assign the new user.
|
||||
#. Click **Create**.
|
||||
#. (Optional) Edit additional user settings.
|
||||
|
||||
To set other user settings, such as setting a display name or limiting the
|
||||
user's storage, see instructions as follows.
|
||||
|
||||
Login names may contain letters (a-z, A-Z), numbers (0-9), dashes (-),
|
||||
underscores (_), periods (.) and at signs (@).
|
||||
|
||||
|
||||
|
||||
Reset a User's Password
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
To reset a user's password:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Hover the line of the user.
|
||||
#. Click on the **Edit icon** behind the password field.
|
||||
#. Enter the user's new password in the password field and then hit the
|
||||
**Enter** key of your keyboard.
|
||||
|
||||
Remember to provide the user with the new login information after you have
|
||||
reset the password.
|
||||
|
||||
|
||||
|
||||
Rename a User
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Each ownCloud user has two names: an unique *login name* used for
|
||||
authentication, and a *display name* (e.g. the user's first name and last name)
|
||||
used in the user interface. You can edit the display name of a user, but you
|
||||
cannot change the login name of any user.
|
||||
|
||||
To set a user's display name:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Hover the line of the user.
|
||||
#. Click on the **Edit icon** behind the display name field.
|
||||
#. Enter the user's new display name in the corresponding field and then hit
|
||||
the **Enter** key of your keyboard.
|
||||
|
||||
|
||||
|
||||
Grant Administrator Privileges to a User
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
If a user has administrator privileges, the user has the right to manage other
|
||||
users. Within ownCloud there are two types of administrators: *Super
|
||||
Administrators* and *Group Administrators*.
|
||||
|
||||
Group administrators have the management rights to:
|
||||
|
||||
* create new users and assign them to the group of the group administrator
|
||||
* edit and delete users that are assigned to the group of the group
|
||||
administrator
|
||||
|
||||
Group administrators cannot access system settings or modify installation-wide
|
||||
configuration like the default storage.
|
||||
|
||||
To assign the *super administrator* role to a user:
|
||||
|
||||
#. *Assign the user to the "admin" user group*
|
||||
|
||||
To assign the *group administrator* role to a user:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Find the user and select the user groups from the **Group Admin** drop-down
|
||||
list you want the user become group administrator for.
|
||||
|
||||
|
||||
|
||||
Assign a User to a User Group
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
To assign a user to a user group:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Find the user and select the user groups from the **Groups** drop-down list
|
||||
you want to assign the user to.
|
||||
|
||||
.. todo:: What happens to data uploaded into a shared group folder ???
|
||||
|
||||
Note: If you assign a user to the *admin* user group, the user will become a
|
||||
*Super Administrator* with unlimited privileges.
|
||||
|
||||
|
||||
|
||||
Limit a User's Storage
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
To limit a user's storage quota:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Find the user and select an item from the **Storage** drop-down list.
|
||||
|
||||
* If you select *Default*, the default storage limit, specified in the
|
||||
action bar at the top, is applied.
|
||||
* If you select *Unlimited*, the user is not limited until the total disk
|
||||
space is consumed.
|
||||
* If you want to enter a custom limit, select *Other...*, enter the storage
|
||||
quota of your choice and hit the **Enter** key of your keyboard.
|
||||
|
||||
If you edit the value of the **Default Storage** field in the action bar, all
|
||||
users with storage *Default* are affected by this change, i.e. changing the
|
||||
default storage from *Unlimited* to *1 GB* will cause all users with *Default*
|
||||
storage being limited to 1 GB storage each.
|
||||
|
||||
|
||||
|
||||
Delete User
|
||||
~~~~~~~~~~~
|
||||
|
||||
**Important considerations before deleting a user:**
|
||||
|
||||
* The user will no longer be able to sign in to your ownCloud installation.
|
||||
* You cannot revert the deletion or restore a deleted account.
|
||||
|
||||
.. todo:: What happens to shared data ???
|
||||
|
||||
To delete a user account:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Hover the line of the user you want to delete.
|
||||
#. Click the **Delete icon** at the end of the line.
|
||||
|
||||
|
||||
|
||||
User Groups
|
||||
-----------
|
||||
|
||||
Create Group
|
||||
~~~~~~~~~~~~
|
||||
|
||||
To create a user group:
|
||||
|
||||
#. Click on your username in the top right and then click **Users**.
|
||||
#. Open the **Groups** drop-down list in the action bar.
|
||||
#. Click **add group**.
|
||||
#. Enter the name of the new group and then hit the **Enter** key of your
|
||||
keyboard.
|
||||
|
||||
Now, you can *assign users* to the newly created user group.
|
||||
|
||||
|
||||
|
||||
Edit/Delete Group
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
Currently, groups cannot be edited (e. g. renamed) or removed. This feature
|
||||
will be available in a future version of ownCloud.
|
||||
|
||||
.. If you have direct access to the database, you can manually delete the group
|
||||
.. from database tables oc_groups and oc_group_user.
|
||||
Reference in New Issue
Block a user