src/cm/media/js/client/c_permissions.js
author gibus
Fri, 19 Nov 2010 18:02:33 +0100
changeset 335 74dbc5568bbd
parent 0 40c8f766c9b8
child 341 053551f213fb
permissions -rw-r--r--
add comment_key optional parameter for /api/comments/ to fetch a single comment

hasPerm = function(label) {
	return (-1 != CY.Array.indexOf(sv_user_permissions, label)) ; 
}