added permissions scope

This commit is contained in:
jeena 2013-09-03 13:06:35 +02:00
parent 5f55bb9b0d
commit a8b58216de
3 changed files with 5 additions and 3 deletions

View file

@ -16,6 +16,7 @@ function(APICalls, HostApp) {
this.mentions = [];
document.body.className = "new_post";
this.is_private = false;
// Textarea

View file

@ -35,7 +35,8 @@ function(HostApp, APICalls, Hmac) {
"https://tent.io/types/photo/v0",
"https://tent.io/types/cursor/v0"
]
}
},
"scopes": ["permissions"]
},
"permissions": {
"public": false

View file

@ -146,9 +146,9 @@ function(Core, APICalls, HostApp, URI) {
if (!this.reload_blocked) {
this.reload_blocked = true;
debug(url)
APICalls.get(url, { callback: function(resp) {
debug(resp.responseText)
// FIXME this is getting data when it shouldn't debug(resp.responseText)
those.reload_blocked = false;