aboutsummaryrefslogtreecommitdiff
path: root/dashboard_app/xmlrpc.py
diff options
context:
space:
mode:
authorZygmunt Krynicki <zygmunt.krynicki@linaro.org>2011-07-16 01:29:49 +0200
committerZygmunt Krynicki <zygmunt.krynicki@linaro.org>2011-07-16 01:29:49 +0200
commite263f05824fe8c8eb1d1f47b1d4318e48c86cbf0 (patch)
tree30db90d1883e1be65dae413d4c4141d95cbd6832 /dashboard_app/xmlrpc.py
parent2058514fd38e9288dca42261126b72226b2aa299 (diff)
Improve grammar in api docs
Diffstat (limited to 'dashboard_app/xmlrpc.py')
-rw-r--r--dashboard_app/xmlrpc.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/dashboard_app/xmlrpc.py b/dashboard_app/xmlrpc.py
index ffefa851a..8773d0612 100644
--- a/dashboard_app/xmlrpc.py
+++ b/dashboard_app/xmlrpc.py
@@ -137,8 +137,8 @@ class DashboardAPI(ExposedAPI):
------------------------------
The following rules govern bundle stream upload access rights:
- all anonymous streams are accessible
- - personal streams are accessible by owners
- - team streams are accessible by team members
+ - personal streams are accessible to owners
+ - team streams are accessible to team members
"""
try:
@@ -201,8 +201,8 @@ class DashboardAPI(ExposedAPI):
------------------------------
The following rules govern bundle stream download access rights:
- all anonymous streams are accessible
- - personal streams are accessible by owners
- - team streams are accessible by team members
+ - personal streams are accessible to owners
+ - team streams are accessible to team members
"""
try:
bundle = Bundle.objects.get(content_sha1=content_sha1)
@@ -256,8 +256,8 @@ class DashboardAPI(ExposedAPI):
------------------------------
The following rules govern bundle stream download access rights:
- all anonymous streams are accessible
- - personal streams are accessible by owners
- - team streams are accessible by team members
+ - personal streams are accessible to owners
+ - team streams are accessible to team members
"""
bundle_streams = BundleStream.objects.accessible_by_principal(self.user)
return [{
@@ -319,8 +319,8 @@ class DashboardAPI(ExposedAPI):
------------------------------
The following rules govern bundle stream download access rights:
- all anonymous streams are accessible
- - personal streams are accessible by owners
- - team streams are accessible by team members
+ - personal streams are accessible to owners
+ - team streams are accessible to team members
"""
try:
bundle_stream = BundleStream.objects.accessible_by_principal(self.user).get(pathname=pathname)