Actions

Manage users/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "'''注意事項:''' * このログイン方法を有効にするには、config.phpでOptional settings/ja#Use_one_time_passwords|<code>$use_one_time_passwords = false;</cod...")
(Created page with "=単一のアンケートに権限を設定する=")
Line 132: Line 132:
* ローカルLSシステムでは、異なるアカウントの権限をテストできません(電子メールパスワードと結びつける方法がないため)。
* ローカルLSシステムでは、異なるアカウントの権限をテストできません(電子メールパスワードと結びつける方法がないため)。


=Set permissions for a single survey=
=単一のアンケートに権限を設定する=


These permissions only apply for a single survey. If you want to set permissions for the whole system, you can use [[Manage users#Set global permissions for a user|global permissions]].
These permissions only apply for a single survey. If you want to set permissions for the whole system, you can use [[Manage users#Set global permissions for a user|global permissions]].

Revision as of 02:42, 6 July 2018

ユーザー管理

ユーザー管理ツールを使用すると、管理ユーザーをLimeSurveyに追加することができます。この章では、単に'ユーザー'と呼ぶことにします。アンケート参加者(回答者)と混同しないでください。


ユーザーの作成

新しいユーザーを作成するには、メインのLimeSurveyツールバーにある設定->アンケート管理ユーザーをクリックしユーザー管理ダイアログを開きます。


File:LimeSurveyBenuzerVerwaltung.jpg


次に、 ユーザー制御テーブルの右上にあるユーザーを追加をクリックします。次のようなウィンドウが表示されます。

  • ユーザー名テキストフィールドに目的のユーザー名を入力します。
  • Eメールテキストフィールドに目的のメールアドレスを入力します。次の点に注意してください。
    • LimeSurveyは、Eメールフィールドに入力したアドレスに確認メールを送信します。このメールアドレスは、それぞれのユーザーが作成したアンケートの標準の連絡先メールアドレスとして使用されます。
    • ユーザーに、LimeSurveyアプリケーション、ユーザー名、およびパスワードへのリンクを含む確認メールを受信させたくない場合は、自分のメールアドレスを設定して自分に確認メールを送信することができます。その後にメールアドレスをユーザーのアドレスに変更することができます。
  • フルネームテキストフィールドにユーザーのフルネームを入力します。ここに入力された氏名は、それぞれのユーザーが作成したアンケートの標準の連絡先の宛名として使用されます。
  • 保存をクリックして、新しいユーザーを作成します。



これで、最初のユーザーが作成されました。ユーザーのアクセス許可を設定する方法については、ユーザー権限の設定を参照してください。



以下に示すように、操作列には4つのオプションがあり、以下のことができます。



  • ペン記号をクリックすると、ユーザーの一般的な項目を編集できます。
  • ごみ箱ボタンをクリックすると、アンケート管理者データベースからユーザーが削除されます。
  • 錠記号をクリックすると、ユーザーのグローバル権限が設定できます。
  • ペンと錠の記号をクリックすると、ユーザーのテンプレート権限を設定できます。

ユーザーの編集

ペン記号アイコンからユーザーを編集できます。

新しいメールアドレス、フルネームを設定したり、パスワードを変更することもできます。編集が終わったら、保存ボタン(ウィンドウの右上)をクリックしてください 。


ユーザーの削除

ユーザーアカウントを削除するには、削除するユーザーアカウントと同じ行にあるごみ箱ボタンをクリックし、OKをクリックします。

ユーザーのグローバル権限設定

  グローバル権限は、LimeSurveyアプリケーション全体に適用されます。 特定のアンケートにのみアクセス権限を設定する場合は、アンケート権限設定を使用します。


ユーザーにグローバル権限を設定するには、錠記号をクリックします。



CRUD(作成、読み取り、更新、削除)システムが使用されています(アンケート権限設定など)。ユーザーのアクセス許可を変更するには、右上隅にある二重右矢印を使用して表を拡張することを強くお勧めします。最初のチェックボックスをオンにすると、その行のすべてのCRUD権限が自動的にチェックされます。

次の権限を追加・削除できます。

  • ラベルセット: ラベルセットの作成、表示、更新、削除、エクスポート、およびインポートの権限。ラベルセットには特定のアクセス許可がありません(デザインテンプレートとは異なります)。
  • 設定とプラグイン: この権限により、ユーザーはデータの整合性をチェックし、SQLデータベースを.sqlファイルに保存し、全体設定を管理し、全体設定でPHP情報を表示し、すべてのプラグインを管理できます。
  • アンケート: すべてのアンケートにアクセスできます。ユーザーが自分のアンケートを作成して管理できるようにするには、ユーザーに'作成'権限を与えます。アンケートの作成者はアンケートのオーナーであり、常にアンケートを管理することができます。アンケートごとに異なる権限が付与できます。
アンケートごとの権限に先立ってグローバル権限が適用されます。
  • テンプレート: 使用可能なすべてのデザインテンプレートを使用し、標準でないすべてのテンプレートを編集することができます。この権限を持つ人は、HTML、Javascript、およびCSSに関して十分な知識を持っている必要があります。ユーザーがこれらのことに慣れておらず、特定のデザインテンプレートを使用することになっている場合は、'読み取り'権限だけを与えるのがよいでしょう。各テンプレートには固有の権限があります。
  • ユーザーグループ: ユーザーグループを作成、表示、更新、削除することができます。
  • ユーザー: この権限を持つユーザーは、管理ユーザーを作成、変更、および削除することができます。新しく作成されたユーザーは、親ユーザーよりも高い権限を持つことはできません。また、他の管理ユーザーが所有するユーザーを編集することもできません。これを行う必要がある場合は、スーパー管理者権限を与える必要があります。
  • スーパー管理者: この権限は、adminというユーザーだけが追加または削除でき、LimeSurveyアプリケーション全体に完全なアクセス権限を与えます。
  注意 : この権限は非常に強力なため、権限を与える場合は特に注意する必要があります。


  • 内部データベース認証を使用する: このアクセス権により、ユーザーは認証ページ(http://domain/admin/authentication/sa/login)からLimeSurveyのパネルにアクセスできます。チェックが外されたユーザーがLimeSuveyのパネルに接続しようとすると、'内部データベース認証は、このユーザに許可されていません'というエラーが表示されます。

ユーザーのテンプレート権限設定

テンプレート権限を使用すると、アンケートを作成または編集するときにユーザーが選択できるデザインテンプレートを決定できます。アンケートには適していないと思われるデザインテンプレートの使用を防ぐため、ユーザーが選択できるデザインテンプレートを制限することをお勧めします。

たとえば、ユーザーまたは顧客のグループに特定のデザインテンプレートがある場合、その目的のために作成されたテンプレートのみを使用できるように、他のテンプレートへのアクセスを制限することができます。

ユーザーのテンプレート権限を設定または編集するには、デザインテンプレートのペンと錠の記号をクリックします。



それぞれのユーザーまたはユーザーグループがアクセスする必要があるデザインテンプレートを選択します。選択または選択解除が完了したら、保存ボタンを押しますことを忘れないでください。0.75px

この機能を正しく理解するには、以下の例を確認してください。

ワンタイムパスワードを使用する

ユーザーは/limesurvey/adminにあるLimeSurveyのログインをコールし、ユーザー名とワンタイムパスワード(以前は、外部アプリケーションによって、ユーザーテーブルのcolumn one_time_pwに書き込まれていた)を入力できます。

このログイン方法を有効にするには、config.php の$use_one_time_passwords = false;の行を 'true'に設定する必要があります(既定ではfalseです)。

URLには次の変数が含まれている必要があります。

  • user: 通常はLimeSurveyにログインするために使用されるユーザー名です。このユーザー名は、データベースの'ユーザー'テーブルになければなりません。
  • onepass: 'ユーザー'テーブルのパスワードと比較されるプレーンテキストパスワードです。

ワンタイムパスワードを使用してログインできる有効なURLは、次のようになります。

'secretpassword'フィールドは、MD5コードではなくプレーンテキストです。

注意事項:

  • このログイン方法を有効にするには、config.phpで$use_one_time_passwords = false;の行をtrueに設定する必要があります(既定値は'false'です)。
  • 渡されたユーザー名は、LimeSurveyのユーザーテーブルになければなりません。
  • ワンタイムパスワード(外部アプリケーション経由で設定可能)は、ユーザーテーブルのone_time_pw列にMD5ハッシュとして格納する必要があります。
  • (これは "両方のパスワードが一致する必要がある"を除いて無視する必要があります)渡されたプレーンテキストのパスワードはsha256関数を使用してハッシュされ、ユーザーテーブルのone_time_pw列に格納されたハッシュと比較されます。両方のパスワードが一致する必要があります。
  • ワンタイムパスワードで初めてログインすると、データベースから削除されます。ユーザーは、使用済みのパスワードで再びログインすることはできません。
  • ローカルLSシステムでは、異なるアカウントの権限をテストできません(電子メールパスワードと結びつける方法がないため)。

単一のアンケートに権限を設定する

These permissions only apply for a single survey. If you want to set permissions for the whole system, you can use global permissions. These permissions can be offered either to a single user or to a user group.

  Attention : An existing user account is required to set permissions for a single survey. If the account doesn't exist, you have to create it first and then change the survey permissions. The same applies to offering survey permissions to a user group. Besides the necessity to have one created, you also need to add at least one user to that group in order to be able to select it and grant it survey permissions.


To change the survey permissions, you have to select the Settings sidebar of your survey. Then, click on Survey permissions and choose to whom would you like to offer permissions. The rights can be offered either separately to specific users or to a user group.




Grant survey permissions to a user

In the next step, select the user that will receive survey rights and click Add user.



After you click Set survey permissions, the user's survey permissions matrix will be shown.

You can set in this matrix the user's survey permissions. Checking a box grants survey permissions to the respective user. If you click on a checkbox from the first column, all the rights of the corresponding line will be selected/removed.

Click on the double-right arrowhead to access the extended version of the matrix to choose specifically the actions that can be performed by a user. After you finished editing the survey permissions, click on the Save button, which is located in the upper right corner of the screen.

Some examples are provided below in order to help you get a better understanding of Limesurvey's survey permissions system.

Grant survey permissions to a user group

Click on add a user group and select the user group to which you would like to add the permission rights.

In the next step, select the permissions that you will allocate to the members of that user group. Do not forget to click on the double right arrowhead to get an extended view of the permissions matrix.



After you finished editing the survey permissions, click on the Save button, which is located in the upper right part of the screen.

Some examples are provided below in order to help you get a better understanding of the Limesurvey's survey permissions system.

The user group function is still experimental. Use our bugs tracker to describe any kind of inconsistencies.

Examples

Different scenarios are presented below. They provide some advice about which rights are necessary for some specific tasks and how they can be granted to the users.


I want to add a new person in charge for administrating LimeSurvey

  • Log in as admin.
  • Create a new user account.
  • Grant that user the Superadministrator permission.
  • Not necessary : Setting the template permissions (Superadministrator has all permissions for all templates).
  • Not necessary : Setting the survey permissions (Superadministrator has all permissions for all surveys).


A new user wants to create his/her own surveys

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create a new user account.
  • Set global permissions for that user to Create survey.
  • Optional : Set template permissions - select which template(s) should be used by the user/user group.

The creator of a survey needs another person to edit his/her survey

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create a new user account.
  • Set no global permissions for user.
  • Set no template permissions for user.
  • Set the survey permissions the way you want. If he/she should receive all the survey permissions, you can check the first box from each row. Otherwise, click on the double-right arrowhead to see the expanded matrix (upper right corner) and select only those rights you believe the respective user should have.


A person responsible for the survey wants to see the results of the survey and export them

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create a new user account.
  • Set no global permissions for user.
  • Set no template permissions for user.
  • Set survey permissions to: Responses -> View/read and export, and Statistics: View/read.


I need help from two interns that can help me with the translation of my survey

  • Log in as admin (or as a user that has the Superadministrator permission).
  • Create n user accounts (where n is the number of translators).
  • Create a user group called Translators and add the n accounts to this group.
  • Go to the Survey permissions and click on Add a user group.
  • If they only do translations, then offer them the Quick translation permission.
Check our wiki section on users and their classification as it can be found in the code and documentation.