Просмотр исходного кода

refs Bug #410 公開範囲「特定グループのみ」でグループ指定できない
* Fix the bug that caused by "grant user group"-grantLabel has been commented out...
* Page view is not looks to be published "only inside the group", but actually it grant data is published only inside the group.

Tatsuya Ise 7 лет назад
Родитель
Сommit
4cb7d9511b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/models/page.js

+ 1 - 1
lib/models/page.js

@@ -344,7 +344,7 @@ module.exports = function(crowi) {
     grantLabels[GRANT_PUBLIC]     = 'Public'; // 公開
     grantLabels[GRANT_RESTRICTED] = 'Anyone with the link'; // リンクを知っている人のみ
     //grantLabels[GRANT_SPECIFIED]  = 'Specified users only'; // 特定ユーザーのみ
-    // grantLabels[GRANT_USER_GROUP] = 'Only inside the group'; // 特定グループのみ
+    grantLabels[GRANT_USER_GROUP] = 'Only inside the group'; // 特定グループのみ
     grantLabels[GRANT_OWNER]      = 'Just me'; // 自分のみ
 
     return grantLabels;