Manual:User rights/ko

User rights are specific access and ability permissions that can be assigned to customizable user groups. Groups can then be assigned to (or removed from) users through the Special:Userrights special page. 을 참고하세요.

Access to this interface is itself governed by the 'userrights' right, so only users in the 'bureaucrat' group can do it (in a default set-up). See for information about managing and the assignment of user groups.

This Special:UserRights interface was introduced in MediaWiki 1.5; see for earlier methods.

사용자 그룹 바꾸기
A default MediaWiki installation assigns certain rights to default groups (see below). You can change the default rights by editing the array in  with the syntax.

In a default installation $wgGroupPermissions will be set in, but it is not present in. You will then need to add it in that file.

If a member has multiple groups, they get all of the permissions from each of the groups they are in. All users, including anonymous users, are in the  group; all registered users are in the   group. In addition to the default groups, you can arbitrarily create new groups using the same array.

예제
This example will disable viewing of all pages not listed in, then re-enable for registered users only:

This example will disable editing of all pages, then re-enable for users with confirmed email addresses only:

Creating a new group and assigning permissions to it
에 권한을 지정해 줌으로써 새로운 유저 그룹을 만들수 있습니다. 는 그룹 이름을 의미합니다.

Additionally to assigning permissions, you should create these three wiki pages with fitting content:


 * (content: )
 * (content: )
 * (content: )

By default, bureaucrats can add users to, or remove them from, any group. However, if you are using and, you may need to customize those instead.

예제
이 예제는 사용자를 차단하고 페이지를 삭제할 수 있고 모든 편집은 기본적으로 최근 바뀜에서 숨겨지는 독단적인 "닌자" 그룹을 만들겠습니다.


 * Note: 그룹 이름은 띄어쓰기를 포함할 수 없습니다.  대신  이나  를 사용하세요.

In this example, you would probably also want to create these pages:


 * (content: )
 * (content: )
 * (content: )

This will ensure that the group will be referred to as "Ninjas" throughout the interface, and a member will be referred to as a "ninja", and overviews will link the group name to.

This example disables write access (page editing and creation) by default, creates a group named "Write", and grants it write access. Users can be manually added to this group via Special:UserRights:

In this example, you would probably also want to create these pages:


 * (content: )
 * (content: )
 * (content: )

Removing predefined groups
MediaWiki out of the box comes with a number of predefined groups. Most of these groups can be removed by unsetting the according array keys, among them. For details see below.

예제
This example will eliminate the bureaucrat group entirely. It is necessary to ensure that all six of these variables are unset for any group that one wishes to remove from being listed at Special:ListGroupRights; however, merely unsetting $wgGroupPermissions will suffice to remove it from Special:UserRights. This code should be placed after any  lines that add extensions such as  containing code that gives bureaucrats group permissions by default.

Note on the group called "user"
With the above mechanism, you can remove the groups sysop, bureaucrat and bot, which - if used - can be assigned through the usual user permission system. However, it is currently impossible to remove the user group. This group is not assigned through the usual permission system. Instead, every logged in user automatically is member of that group. This is hardcoded in MediaWiki and currently cannot be changed easily.

권한 목록
The following user rights are available in the latest version of MediaWiki. If you are using an older version, look at "Special:Version" on your wiki and see if your version is covered in the "versions" column.

그룹 목록
The following groups are available in the latest version of MediaWiki. If you are using an older version then some of these may not be implemented.

From MW 1.12, you can create your own groups into which users are automatically promoted (as with autoconfirmed and emailconfirmed) using. You can even create any custom group by just assigning rights to them.

기본 권한
The default rights are defined in.
 * Default values in HEAD version:
 * The default values in the latest stable MediaWiki release, version 1.27, are available here: https://phabricator.wikimedia.org/diffusion/MW/browse/REL1_27/includes/DefaultSettings.php$4516
 * Additional rights: you should be able to list all the permissions available on your wiki by running.

새 권한 만들기
Information for coders only follows.

If you're adding a new right in core, for instance to control a new special page, you are required to add it to the list of available rights in,  (example). If you're doing so in an extension, you instead need to use.

You probably also want to also assign it to some user group by editing described above.

If you want this right to be accessible to external applications by OAuth or by bot passwords, then you will need to add it to a grant by editing

You also need to add  and   interface messages to /languages/i18n/en.json (with documentation in qqq.json). The right-* messages can be seen on Special:ListGroupRights and the action-* messages are used in a sentence like "You do not have permission to ...".

같이 보기

 * Special:ListGroupRights - links to this help page and might contain not yet documented rights
 * - help page describing use of the Special:Userrights interface (for bureaucrats)
 * - information about managing and the assignment of user groups.
 * - 예시
 * - Many extensions relating to user rights
 * - 예시
 * - Many extensions relating to user rights
 * - Many extensions relating to user rights
 * - Many extensions relating to user rights