couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject fauxton commit: updated refs/heads/COUCHDB-2244--admin-rights to e5d30a5
Date Mon, 01 Sep 2014 17:14:16 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/COUCHDB-2244--admin-rights [created] e5d30a55f


Do not limit access for documents to admins

COUCHDB-2244


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/e5d30a55
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/e5d30a55
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/e5d30a55

Branch: refs/heads/COUCHDB-2244--admin-rights
Commit: e5d30a55f4a0665d2e64e160af9480c54b92601a
Parents: 7a383eb
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Mon Sep 1 00:16:07 2014 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Mon Sep 1 19:15:40 2014 +0200

----------------------------------------------------------------------
 app/addons/documents/routes.js | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e5d30a55/app/addons/documents/routes.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/routes.js b/app/addons/documents/routes.js
index c176116..5aa7a00 100644
--- a/app/addons/documents/routes.js
+++ b/app/addons/documents/routes.js
@@ -131,28 +131,22 @@ function(app, FauxtonAPI, Documents, Changes, Index, DocEditor, Databases,
Resou
     routes: {
 
       "database/:database/_all_docs(:extra)": {
-        route: "allDocs",
-        roles: ["_reader","_writer","_admin"]
+        route: "allDocs"
       },
       "database/:database/_design/:ddoc/_views/:view": {
-        route: "viewFn",
-        roles: ['_admin']
+        route: "viewFn"
       },
       "database/:database/_design/:ddoc/_lists/:fn": {
-        route: "tempFn",
-        roles: ['_admin']
+        route: "tempFn"
       },
       "database/:database/_design/:ddoc/_filters/:fn": {
-        route: "tempFn",
-        roles: ['_admin']
+        route: "tempFn"
       },
       "database/:database/_design/:ddoc/_show/:fn": {
-        route: "tempFn",
-        roles: ['_admin']
+        route: "tempFn"
       },
       "database/:database/_design/:ddoc/metadata": {
-        route: "designDocMetadata",
-        roles: ['_admin']
+        route: "designDocMetadata"
       },
       "database/:database/new_view": "newViewEditor",
       "database/:database/new_view/:designDoc": "newViewEditor",


Mime
View raw message