Skip to content

Commit

Permalink
Merge pull request #5559 from meteor/split-allow-deny
Browse files Browse the repository at this point in the history
WIP: Move allow/deny entirely into a separate package and refactor insert/update/remove
  • Loading branch information
Sashko Stubailo committed Nov 24, 2015
2 parents 5931bcd + a69cc4c commit 15cdbca
Show file tree
Hide file tree
Showing 8 changed files with 734 additions and 609 deletions.
28 changes: 14 additions & 14 deletions docs/client/data.js
Expand Up @@ -5372,9 +5372,9 @@ DocsData = {
"summary": "Constructor for a Collection"
},
"Mongo.Collection#allow": {
"filepath": "mongo/collection.js",
"filepath": "allow-deny/allow-deny.js",
"kind": "function",
"lineno": 791,
"lineno": 43,
"locus": "Server",
"longname": "Mongo.Collection#allow",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5422,9 +5422,9 @@ DocsData = {
"summary": "Allow users to write directly to this collection from client code, subject to limitations you define."
},
"Mongo.Collection#deny": {
"filepath": "mongo/collection.js",
"filepath": "allow-deny/allow-deny.js",
"kind": "function",
"lineno": 803,
"lineno": 58,
"locus": "Server",
"longname": "Mongo.Collection#deny",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5474,7 +5474,7 @@ DocsData = {
"Mongo.Collection#find": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 261,
"lineno": 264,
"locus": "Anywhere",
"longname": "Mongo.Collection#find",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5571,7 +5571,7 @@ DocsData = {
"Mongo.Collection#findOne": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 287,
"lineno": 290,
"locus": "Anywhere",
"longname": "Mongo.Collection#findOne",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5659,7 +5659,7 @@ DocsData = {
"Mongo.Collection#insert": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 431,
"lineno": 426,
"locus": "Anywhere",
"longname": "Mongo.Collection#insert",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5692,7 +5692,7 @@ DocsData = {
"Mongo.Collection#rawCollection": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 660,
"lineno": 681,
"locus": "Server",
"longname": "Mongo.Collection#rawCollection",
"memberof": "Mongo.Collection",
Expand All @@ -5705,7 +5705,7 @@ DocsData = {
"Mongo.Collection#rawDatabase": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 672,
"lineno": 693,
"locus": "Server",
"longname": "Mongo.Collection#rawDatabase",
"memberof": "Mongo.Collection",
Expand All @@ -5718,7 +5718,7 @@ DocsData = {
"Mongo.Collection#remove": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 455,
"lineno": 568,
"locus": "Anywhere",
"longname": "Mongo.Collection#remove",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5751,7 +5751,7 @@ DocsData = {
"Mongo.Collection#update": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 441,
"lineno": 507,
"locus": "Anywhere",
"longname": "Mongo.Collection#update",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5821,7 +5821,7 @@ DocsData = {
"Mongo.Collection#upsert": {
"filepath": "mongo/collection.js",
"kind": "function",
"lineno": 617,
"lineno": 635,
"locus": "Anywhere",
"longname": "Mongo.Collection#upsert",
"memberof": "Mongo.Collection",
Expand Down Expand Up @@ -5883,7 +5883,7 @@ DocsData = {
"filepath": "mongo/collection.js",
"instancename": "cursor",
"kind": "class",
"lineno": 694,
"lineno": 715,
"longname": "Mongo.Cursor",
"memberof": "Mongo",
"name": "Cursor",
Expand Down Expand Up @@ -6051,7 +6051,7 @@ DocsData = {
"Mongo.ObjectID": {
"filepath": "mongo/collection.js",
"kind": "class",
"lineno": 687,
"lineno": 708,
"locus": "Anywhere",
"longname": "Mongo.ObjectID",
"memberof": "Mongo",
Expand Down
Empty file added packages/allow-deny/README.md
Empty file.
1 change: 1 addition & 0 deletions packages/allow-deny/allow-deny-tests.js
@@ -0,0 +1 @@
// Currently in 'mongo' package

0 comments on commit 15cdbca

Please sign in to comment.