You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2013/09/27 11:31:42 UTC
[3/3] git commit: updated refs/heads/master to 221ada7
Fauxton: add documentation links for permissions
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/221ada71
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/221ada71
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/221ada71
Branch: refs/heads/master
Commit: 221ada71fa29691ff62969769eb15adce0ff566d
Parents: 6b55be3
Author: Garren Smith <ga...@gmail.com>
Authored: Fri Sep 27 11:26:21 2013 +0200
Committer: Garren Smith <ga...@gmail.com>
Committed: Fri Sep 27 11:28:04 2013 +0200
----------------------------------------------------------------------
src/fauxton/app/addons/permissions/templates/section.html | 2 +-
src/fauxton/app/helpers.js | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/221ada71/src/fauxton/app/addons/permissions/templates/section.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/permissions/templates/section.html b/src/fauxton/app/addons/permissions/templates/section.html
index 09acbf2..3360308 100644
--- a/src/fauxton/app/addons/permissions/templates/section.html
+++ b/src/fauxton/app/addons/permissions/templates/section.html
@@ -13,7 +13,7 @@ the License.
-->
<header class="border-hdr">
<h3> <%= (section) %> </h3>
-<p id="help"> <%= help %> </p>
+<p id="help"> <%= help %> <a href="<%=getDocUrl('database_permission')%>" target="_blank"><i class="icon-question-sign"> </i> </a></p>
</header>
<div class="row">
http://git-wip-us.apache.org/repos/asf/couchdb/blob/221ada71/src/fauxton/app/helpers.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/helpers.js b/src/fauxton/app/helpers.js
index 0cb90ae..d6ea966 100644
--- a/src/fauxton/app/helpers.js
+++ b/src/fauxton/app/helpers.js
@@ -41,7 +41,8 @@ function() {
"view_functions": "http://docs.couchdb.org/en/latest/ddocs.html#view-functions",
"map_functions": "http://docs.couchdb.org/en/latest/ddocs.html#map-functions",
"reduce_functions": "http://docs.couchdb.org/en/latest/ddocs.html#reduce-and-rereduce-functions",
- "api_reference": "http://docs.couchdb.org/en/latest/api-basics.html?highlight=api"
+ "api_reference": "http://docs.couchdb.org/en/latest/api-basics.html?highlight=api",
+ "database_permission": "http://docs.couchdb.org/en/latest/api/database.html#get-db-security"
};
Helpers.getDocUrl = function(doc){