1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

update user permission

1. update user generate share/upload link permission
2. update user connect iso/android/desktop clients permission
This commit is contained in:
lian
2016-08-22 11:20:08 +08:00
parent f75d6a0dcb
commit fd917c0007
26 changed files with 162 additions and 130 deletions

View File

@@ -24,7 +24,7 @@ define([
},
render: function() {
this.$el.html(this.template());
this.$el.html(this.template({'can_generate_share_link': app.pageOptions.can_generate_share_link}));
this.$table = this.$('table');
this.$tableBody = $('tbody', this.$table);
this.$loadingTip = this.$('.loading-tip');
@@ -59,10 +59,10 @@ define([
err_msg = gettext("Permission error");
} else {
err_msg = gettext("Error");
}
}
} else {
err_msg = gettext('Please check the network.');
}
}
$error.html(err_msg).show();
}
});