「モバイルウェブサービスを有効にする」の版間の差分
提供:MoodleDocs
Mitsuhiro Yoshida (トーク | 投稿記録) |
Mitsuhiro Yoshida (トーク | 投稿記録) |
||
15行目: | 15行目: | ||
完了です! 他の作業は必要ありません。 | 完了です! 他の作業は必要ありません。 | ||
このドキュメントの残りでは、「舞台裏」を説明しています。 | |||
== サービスを有効にした場合、何が起きるのか == | == サービスを有効にした場合、何が起きるのか == |
2013年8月25日 (日) 05:44時点における版
作成中です - Mitsuhiro Yoshida (トーク)
Moodleには、モバイルアプリケーションのために設計された内蔵ウェブサービスが実装されています。公式のdev:Moodle Mobileを動作させる必要があります。あなたがユーザに公式アプリを使用させたい場合、またはサードパーティのアプリが明確に必要とする場合のみ、ウェブサービスを有効にしてください。
モバイルウェブサービスを有効にする
まず、サイト管理者はモバイルウェブサービスを有効にする必要があります:
- 「設定 > サイト管理 > プラグイン > ウェブサービス > モバイル」において、
- 「モバイルウェブサービスを有効にする」をチェックして、
- 「保存」ボタンをクリックしてください。
完了です! 他の作業は必要ありません。
このドキュメントの残りでは、「舞台裏」を説明しています。
サービスを有効にした場合、何が起きるのか
Enabling the mobile web services will automatically:
- enable the web services system (Settings > Site administration > Advanced features)
- enable the built-in external service called 'Mobile web services' - you should see this new mobile service listed as enabled
- enable the xml-rpc protocol (for backward compatibility with unmaintained My Moodle app)
- enable the rest protocol
- allow the 'webservice/xmlrpc:use' capability for authenticated user role
- allow the 'webservice/rest:use' capability for authenticated user role
モバイルウェブサービスを無効にする
When you uncheck 'Enable mobile web services', it will automatically:
- disable the external service called 'Mobile web services'.
- if 'Mobile web services' was the only external service enabled:
- disable the web services system
- disable the xml-rpc protocol
- disable the rest protocol
- remove the 'webservice/xmlrpc:use' capability for authenticated user role
- remove the 'webservice/rest:use' capability for authenticated user role