Commit 69c25936 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Merged revision(s) r62959 from...

Merged revision(s) r62959 from AVS/Sources/TeamlabOffice/branches/TeamlabOffice_v3.0_Postgresql/OfficeWeb* Добавил лицензию по дате ByDate Добавил параметр canLicense Для версии Saas использовать флаг SAAS_VERSION Для Open Source - OPEN_SOURCE

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63424 954022d7-b5bf-4e40-9824-e11837661b57
parent 6683b6b6
......@@ -24,6 +24,8 @@
return new asc_CAscEditorPermissions();
}
if(settings) {
this.canLicense = settings["canLicense"];
this.canEdit = settings["canEdit"];
this.canDownload = settings["canDownload"];
this.canCoAuthoring = settings["canCoAuthoring"];
......@@ -47,6 +49,8 @@
asc_CAscEditorPermissions.prototype = {
constructor: asc_CAscEditorPermissions,
asc_getCanLicense: function(){ return this.canLicense; },
asc_getCanEdit: function(){ return this.canEdit; },
asc_getCanDownload: function(){ return this.canDownload; },
asc_getCanCoAuthoring: function(){ return this.canCoAuthoring; },
......@@ -56,6 +60,8 @@
asc_getAutosaveMinInterval: function(){ return this.AutosaveMinInterval; },
asc_getIsAnalyticsEnable: function(){ return this.isAnalyticsEnable; },
asc_setCanLicense: function(v){ this.canLicense = v; },
asc_setCanEdit: function(v){ this.canEdit = v; },
asc_setCanDownload: function(v){ this.canDownload = v; },
asc_setCanCoAuthoring: function(v){ this.canCoAuthoring = v; },
......@@ -74,6 +80,8 @@
window["Asc"].asc_CAscEditorPermissions = asc_CAscEditorPermissions;
prot = asc_CAscEditorPermissions.prototype;
prot["asc_getCanLicense"] = prot.asc_getCanLicense;
prot["asc_getCanEdit"] = prot.asc_getCanEdit;
prot["asc_getCanDownload"] = prot.asc_getCanDownload;
prot["asc_getCanCoAuthoring"] = prot.asc_getCanCoAuthoring;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment