Changes between Version 1 and Version 2 of TracPermissions
- Timestamp:
- Jun 21, 2008, 6:11:58 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracPermissions
v1 v2 1 = アクセス制御とパーミッション=1 = Trac Permissions = 2 2 [[TracGuideToc]] 3 3 4 Trac はシンプルなアクセス制御システムを使用しています。4 Trac uses a simple permission system to control what users can and can't access. 5 5 6 パーミッションの付与は [wiki:TracAdmin trac-admin] ツールを使用して操作します。 6 Permission privileges are managed using the [wiki:TracAdmin trac-admin] tool. 7 7 8 認証していないユーザは "anonymous" としてシステムにアクセスします。 "anonymous" ユーザには anonymous/guest ユーザの権限を割り当てます。 権限がない Trac のモジュールについてはナビゲーションバーに表示されないでしょう。 8 Non-authenticated users accessing the system are assigned the name "anonymous". Assign permissions to the "anonymous" user to set privileges for anonymous/guest users. The parts of Trac that a user does not have the privileges for will not be displayed in the navigation. 9 9 10 これらの権限に加えて、登録したユーザ (HTTP認証を行ったユーザ) には個別に権限を付与することができます。ログインしたすべてのユーザは "authenticated" という仮想グループに所属し、 "anonymous" からパーミッションを継承します。 10 In addition to these privileges, users can be granted additional individual rights in effect when authenticated and logged into the system. All logged in users belong to the virtual group "authenticated", which inherits permissions from "anonymous". 11 11 12 == 付与できる権限==12 == Available Privileges == 13 13 14 あるユーザで全ての権限を有効にしたい場合、 `TRAC_ADMIN` 権限を使用してください。 `TRAC_ADMIN` 権限を持っているユーザは *NIX システムでの `root` と同じように、いかなる操作も行うことができます。 14 To enable all privileges for a user, use the `TRAC_ADMIN` permission. Having `TRAC_ADMIN` is like being `root` on a *NIX system, it will allow you perform any operation. 15 15 16 または Trac の機能ごとに異なる種類の権限を、ユーザごとに個別に付与することができます。(パーミッション名は大文字 / 小文字を区別しません):16 Otherwise, individual privileges can be assigned to users for the various different functional areas of Trac (note that the privilege names are case-sensitive): 17 17 18 === リポジトリブラウザ===18 === Repository Browser === 19 19 20 || `BROWSER_VIEW` || [wiki:TracBrowser リポジトリブラウザ] でディレクトリの一覧表示を行う||21 || `LOG_VIEW` || [wiki:TracBrowser リポジトリブラウザ] でファイルとディレクトリのリビジョンログを表示する||22 || `FILE_VIEW` || [wiki:TracBrowser リポジトリブラウザ] でファイルを表示する||23 || `CHANGESET_VIEW` || [wiki:TracChangeset リポジトリへのチェックイン] を表示する||20 || `BROWSER_VIEW` || View directory listings in the [wiki:TracBrowser repository browser] || 21 || `LOG_VIEW` || View revision logs of files and directories in the [wiki:TracBrowser repository browser] || 22 || `FILE_VIEW` || View files in the [wiki:TracBrowser repository browser] || 23 || `CHANGESET_VIEW` || View [wiki:TracChangeset repository check-ins] || 24 24 25 === チケットシステム===25 === Ticket System === 26 26 27 || `TICKET_VIEW` || 登録済みの [wiki:TracTickets チケット] を表示し、 [wiki:TracQuery チケットクエリ] を実行する||28 || `TICKET_CREATE` || 新規 [wiki:TracTickets チケット] を登録する||29 || `TICKET_APPEND` || [wiki:TracTickets チケット] にコメントや添付ファイルを追加する||30 || `TICKET_CHGPROP` || チケットの概要フィールドを除いた [wiki:TracTickets チケット] 属性(優先度, 担当者, キーワードなど) を変更する||31 || `TICKET_MODIFY` || `TICKET_APPEND` と `TICKET_CHGPROP` の両方に加え、 [wiki:TracTickets チケット] の解決を可能にする||32 || `TICKET_ADMIN` || 全ての `TICKET_*` 権限に加え、チケットへの添付ファイルの削除やチケットの概要フィールドの変更を可能にする||27 || `TICKET_VIEW` || View existing [wiki:TracTickets tickets] and perform [wiki:TracQuery ticket queries] || 28 || `TICKET_CREATE` || Create new [wiki:TracTickets tickets] || 29 || `TICKET_APPEND` || Add comments or attachments to [wiki:TracTickets tickets] || 30 || `TICKET_CHGPROP` || Modify [wiki:TracTickets ticket] properties (priority, assignment, keywords, etc.) except description field || 31 || `TICKET_MODIFY` || Includes both `TICKET_APPEND` and `TICKET_CHGPROP`, and in addition allows resolving [wiki:TracTickets tickets] || 32 || `TICKET_ADMIN` || All `TICKET_*` permissions, plus the deletion of ticket attachments and modification of the description field || 33 33 34 === ロードマップ===34 === Roadmap === 35 35 36 || `MILESTONE_VIEW` || マイルストーンを表示する||37 || `MILESTONE_CREATE` || 新しいマイルストーンを作成する||38 || `MILESTONE_MODIFY` || 既に存在するマイルストーンを編集する||39 || `MILESTONE_DELETE` || マイルストーンを削除する||40 || `MILESTONE_ADMIN` || 全ての `MILESTONE_*` 権限を持つ||41 || `ROADMAP_VIEW` || [wiki:TracRoadmap ロードマップ] を表示する||36 || `MILESTONE_VIEW` || View a milestone || 37 || `MILESTONE_CREATE` || Create a new milestone || 38 || `MILESTONE_MODIFY` || Modify existing milestones || 39 || `MILESTONE_DELETE` || Delete milestones || 40 || `MILESTONE_ADMIN` || All `MILESTONE_*` permissions || 41 || `ROADMAP_VIEW` || View the [wiki:TracRoadmap roadmap] page || 42 42 43 === レポート===43 === Reports === 44 44 45 || `REPORT_VIEW` || [wiki:TracReports レポート] を表示する||46 || `REPORT_SQL_VIEW` || [wiki:TracReports レポート] の SQL を表示する||47 || `REPORT_CREATE` || 新しい [wiki:TracReports レポート] を作成する||48 || `REPORT_MODIFY` || 既に存在する [wiki:TracReports レポート] を編集する||49 || `REPORT_DELETE` || [wiki:TracReports レポート] を削除する||50 || `REPORT_ADMIN` || 全ての `REPORT_*` 権限を持つ||45 || `REPORT_VIEW` || View [wiki:TracReports reports] || 46 || `REPORT_SQL_VIEW` || View the underlying SQL query of a [wiki:TracReports report] || 47 || `REPORT_CREATE` || Create new [wiki:TracReports reports] || 48 || `REPORT_MODIFY` || Modify existing [wiki:TracReports reports] || 49 || `REPORT_DELETE` || Delete [wiki:TracReports reports] || 50 || `REPORT_ADMIN` || All `REPORT_*` permissions || 51 51 52 === Wiki システム===52 === Wiki System === 53 53 54 || `WIKI_VIEW` || 既に存在する [wiki:TracWiki Wiki] ページを表示する||55 || `WIKI_CREATE` || 新しい [wiki:TracWiki Wiki] ページを作成する||56 || `WIKI_MODIFY` || [wiki:TracWiki Wiki] ページを編集する||57 || `WIKI_DELETE` || [wiki:TracWiki Wiki] ページと添付ファイルを削除する||58 || `WIKI_ADMIN` || 全ての `WIKI_*` 権限に加え、''読み込み専用'' ページを管理する||54 || `WIKI_VIEW` || View existing [wiki:TracWiki wiki] pages || 55 || `WIKI_CREATE` || Create new [wiki:TracWiki wiki] pages || 56 || `WIKI_MODIFY` || Change [wiki:TracWiki wiki] pages || 57 || `WIKI_DELETE` || Delete [wiki:TracWiki wiki] pages and attachments || 58 || `WIKI_ADMIN` || All `WIKI_*` permissions, plus the management of ''readonly'' pages. || 59 59 60 === その他===60 === Others === 61 61 62 || `TIMELINE_VIEW` || [wiki:TracTimeline タイムライン] を表示する||63 || `SEARCH_VIEW` || [wiki:TracSearch 検索] の表示と実行||64 || `CONFIG_VIEW` || ''Trac について'' のページに追加して、現在のコンフィグやインストールされているプラグインの表示を可能にする||62 || `TIMELINE_VIEW` || View the [wiki:TracTimeline timeline] page || 63 || `SEARCH_VIEW` || View and execute [wiki:TracSearch search] queries || 64 || `CONFIG_VIEW` || Enables additional pages on ''About Trac'' that show the current configuration or the list of installed plugins || 65 65 66 == 権限の付与==66 == Granting Privileges == 67 67 68 [wiki:TracAdmin trac-admin] を使用してユーザに権限を与えて下さい。現在設定されている権限は以下のコマンドで一覧できます:68 You grant privileges to users using [wiki:TracAdmin trac-admin]. The current set of privileges can be listed with the following command: 69 69 {{{ 70 70 $ trac-admin /path/to/projenv permission list 71 71 }}} 72 72 73 次のコマンドはユーザ ''bob'' にレポートの削除権限を与えます:73 This command will allow the user ''bob'' to delete reports: 74 74 {{{ 75 75 $ trac-admin /path/to/projenv permission add bob REPORT_DELETE 76 76 }}} 77 77 78 `permission add` コマンドでは複数の権限を扱うことができます:78 The `permission add` command also accepts multiple privilege names: 79 79 {{{ 80 80 $ trac-admin /path/to/projenv permission add bob REPORT_DELETE WIKI_CREATE 81 81 }}} 82 82 83 == パーミッショングループ==83 == Permission Groups == 84 84 85 パーミッションをグループ化してロール (''developer''、''admin''、etc.) を構成することができます 85 Permissions can be grouped together to form roles such as ''developer'', ''admin'', etc. 86 86 {{{ 87 87 $ trac-admin /path/to/projenv permission add developer WIKI_ADMIN … … 92 92 }}} 93 93 94 グループのメンバーは {{{permission list}}} を引数なしで起動すると見ることができます; 出力される結果にはグループのメンバが含まれているでしょう。グループ名には小文字を使ってください。大文字は権限名のために予約されています。 94 Group membership can be checked by doing a {{{permission list}}} with no further arguments; the resulting output will include group memberships. Use lowercase for group names, as uppercase is reserved for permissions. 95 95 96 == パーミッションを削除する==96 == Removing Permissions == 97 97 98 パーミッションは 'remove' コマンドを使用して削除します。例:98 Permissions can be removed using the 'remove' command. For example: 99 99 100 このコマンドは、ユーザ ''bob'' から レポート権限を削除します:100 This command will prevent the user ''bob'' from deleting reports: 101 101 {{{ 102 102 $ trac-admin /path/to/projenv permission remove bob REPORT_DELETE 103 103 }}} 104 104 105 `permission add` と同様に、このコマンドは複数の権限名を扱うことができます。 105 Just like `permission add`, this command accepts multiple privilege names. 106 106 107 特定のユーザからすべての権限を削除することもできます:107 You can also remove all privileges for a specific user: 108 108 {{{ 109 109 $ trac-admin /path/to/projenv permission remove bob * 110 110 }}} 111 111 112 または、すべてのユーザからある権限を削除することもできます:112 Or one privilege for all users: 113 113 {{{ 114 114 $ trac-admin /path/to/projenv permission remove * REPORT_ADMIN 115 115 }}} 116 116 117 == デフォルトのパーミッション==117 == Default Permissions == 118 118 119 特別なユーザ ''anonymous'' に権限を付与することで、未ログイン状態の匿名ユーザに権限を付与することができます。 119 Granting privileges to the special user ''anonymous'' can be used to control what an anonymous user can do before they have logged in. 120 120 121 同様に、特別なユーザ ''authenticated'' に権限を付与することで、 (HTTP認証に登録された) 全登録ユーザに権限を一律に設定することができます。 121 In the same way, privileges granted to the special user ''authenticated'' will apply to any authenticated (logged in) user. 122 122 123 123 ----