Add 'Nobody' permission setting

This commit is contained in:
calzoneman 2013-09-21 00:30:47 -05:00
parent 25d225ec97
commit da29d35121
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Sat Sep 21 00:29 2013 CDT
* www/assets/js/util.js: support a "Nobody" permission level (set
arbitrarily high)
Sat Sep 21 00:23 2013 CDT Sat Sep 21 00:23 2013 CDT
* www/assets/js/callbacks.js, www/assets/css/ytsync.css: make it more * www/assets/js/callbacks.js, www/assets/css/ytsync.css: make it more
obvious which option was voted for obvious which option was voted for

View File

@ -1551,7 +1551,8 @@ function genPermissionsEditor() {
["Registered" , "1"], ["Registered" , "1"],
["Leader" , "1.5"], ["Leader" , "1.5"],
["Moderator" , "2"], ["Moderator" , "2"],
["Channel Admin", "3"] ["Channel Admin", "3"],
["Nobody" , "1000000"]
]; ];
var noanon = [ var noanon = [
@ -1559,18 +1560,21 @@ function genPermissionsEditor() {
["Registered" , "1"], ["Registered" , "1"],
["Leader" , "1.5"], ["Leader" , "1.5"],
["Moderator" , "2"], ["Moderator" , "2"],
["Channel Admin", "3"] ["Channel Admin", "3"],
["Nobody" , "1000000"]
]; ];
var modleader = [ var modleader = [
["Leader" , "1.5"], ["Leader" , "1.5"],
["Moderator" , "2"], ["Moderator" , "2"],
["Channel Admin", "3"] ["Channel Admin", "3"],
["Nobody" , "1000000"]
]; ];
var modplus = [ var modplus = [
["Moderator" , "2"], ["Moderator" , "2"],
["Channel Admin", "3"] ["Channel Admin", "3"],
["Nobody" , "1000000"]
]; ];
$("<h3/>").text("Open playlist permissions").appendTo(fs); $("<h3/>").text("Open playlist permissions").appendTo(fs);